mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-28 07:50:09 +08:00
source ~/.profile only if it exists
This commit is contained in:
parent
4e34588a5b
commit
858c515df2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user