Fixed issue where ZPROFILE would not be set and zshrc not updated

This commit is contained in:
Graeme Christie 2014-06-03 22:29:48 +08:00
parent b26d08ba30
commit 3bec520b0e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ if [ -z "$PROFILE" ]; then
fi
fi
if [ -z "$PROFILE" ]; then
if [ -z "$ZPROFILE" ]; then
if [ -f "$HOME/.zshrc" ]; then
ZPROFILE="$HOME/.zshrc"
fi