mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
Now the script just returns instead of exiting with an errorcode. The reason for this is that users can't log in anymore if the specified a wrong path in POWERLEVEL9K_INSTALLATION_PATH and the script exit
s. With return
not the whole shell is terminated, so users get an ugly prompt, but are still able to modify .zshrc.
This commit is contained in:
parent
a0323b7e80
commit
727b3e501b
1 changed files with 1 additions and 1 deletions
|
@ -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)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue