summaryrefslogtreecommitdiffstats
path: root/prompt.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'prompt.zsh')
-rwxr-xr-xprompt.zsh5
1 files changed, 2 insertions, 3 deletions
diff --git a/prompt.zsh b/prompt.zsh
index 0604e75..9c812ac 100755
--- a/prompt.zsh
+++ b/prompt.zsh
@@ -1,7 +1,6 @@
-#! /usr/bin/env zsh
+#!/usr/bin/env zsh
-dot="$(cd "$(dirname "$0")"; pwd)"
-args=$@
+dot="$(cd "$(dirname "$0")" || exit; pwd)"
source "$dot/sonar-base.sh"
if is_repo; then