mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge a008b0b987 into 0ebe35968c
This commit is contained in:
commit
1c2c6d9036
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@ fi
|
|||
# Cancel upgrade if git is unavailable on the system
|
||||
whence git >/dev/null || return 0
|
||||
|
||||
# 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 ]
|
||||
then
|
||||
. ~/.zsh-update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue