aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 29f9804c..f0cbd9f2 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -41,7 +41,7 @@ elif [[ -f $0 ]]; then
filename="$0"
else
print -P "%F{red}Script location could not be found!%f"
- exit 1
+ return 1
fi
script_location="$(dirname $filename)"