mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-28 07:50:09 +08:00
parent
de41dee9e4
commit
a9e1d9aa89
@ -20,6 +20,12 @@ if [[ -z "$epoch_target" ]]; then
|
|||||||
epoch_target=13
|
epoch_target=13
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ -f ~/.profile ] && source ~/.profile
|
||||||
|
|
||||||
|
# Cancel upgrade if the current user doesn't have write permissions for the
|
||||||
|
# oh-my-zsh directory.
|
||||||
|
[[ -w "$ZSH" ]] || return 0
|
||||||
|
|
||||||
if [ -f ~/.zsh-update ]
|
if [ -f ~/.zsh-update ]
|
||||||
then
|
then
|
||||||
. ~/.zsh-update
|
. ~/.zsh-update
|
||||||
|
Loading…
Reference in New Issue
Block a user