mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Merge 1d463304c4 into e0c9ada380
This commit is contained in:
commit
472d15b101
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ fi
|
||||||
# oh-my-zsh directory.
|
# oh-my-zsh directory.
|
||||||
[[ -w "$ZSH" ]] || return 0
|
[[ -w "$ZSH" ]] || return 0
|
||||||
|
|
||||||
|
# Cancel upgrade if no git command is available on this system.
|
||||||
|
whence git >/dev/null || return 0
|
||||||
|
|
||||||
if [ -f ~/.zsh-update ]
|
if [ -f ~/.zsh-update ]
|
||||||
then
|
then
|
||||||
. ~/.zsh-update
|
. ~/.zsh-update
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue