mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-20 03:11:58 +00:00
Merge pull request #2296 from pstadler/master
check_for_upgrade.sh: source ~/.profile only if it exists
This commit is contained in:
commit
6fa64b7199
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if [[ -z "$epoch_target" ]]; then
|
||||||
epoch_target=13
|
epoch_target=13
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ ~/.profile ] && source ~/.profile
|
[ -f ~/.profile ] && source ~/.profile
|
||||||
|
|
||||||
if [ -f ~/.zsh-update ]
|
if [ -f ~/.zsh-update ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue