1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 12:46:13 +08:00

source ~/.profile only if it exists

This commit is contained in:
Patrick Stadler 2013-12-03 09:52:51 +01:00
parent 4e34588a5b
commit 858c515df2

View File

@ -20,7 +20,7 @@ if [[ -z "$epoch_target" ]]; then
epoch_target=13
fi
[ ~/.profile ] && source ~/.profile
[ -f ~/.profile ] && source ~/.profile
if [ -f ~/.zsh-update ]
then