1
0
Fork 0

update-omz does not require a ~/.omz-update file

pull/5/head
Jonathan Dahan 13 years ago
parent deb032d849
commit b8019bd633

@ -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…
Cancel
Save