update-omz does not require a ~/.omz-update file
This commit is contained in:
parent
deb032d849
commit
b8019bd633
1 changed files with 0 additions and 1 deletions
|
@ -14,7 +14,6 @@ zstyle -t ':omz:function:update-omz' auto-commit || local nocommit='--no-commit'
|
||||||
if git pull $nocommit --strategy=recursive -X ours origin master; then
|
if git pull $nocommit --strategy=recursive -X ours origin master; then
|
||||||
zstyle -t ':omz:function:update-omz' color && printf "$FG[blue]"
|
zstyle -t ':omz:function:update-omz' color && printf "$FG[blue]"
|
||||||
printf 'Hooray! oh-my-zsh is up-to-date :)'
|
printf 'Hooray! oh-my-zsh is up-to-date :)'
|
||||||
touch ~/.omz-update
|
|
||||||
else
|
else
|
||||||
zstyle -t ':omz:function:update-omz' color && printf "$FG[red]"
|
zstyle -t ':omz:function:update-omz' color && printf "$FG[red]"
|
||||||
printf 'Oh no! There was an error updating oh-my-zsh :('
|
printf 'Oh no! There was an error updating oh-my-zsh :('
|
||||||
|
|
Loading…
Add table
Reference in a new issue