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

This commit is contained in:
Jonathan Dahan 2012-01-27 04:41:05 -05:00
parent deb032d849
commit b8019bd633

View file

@ -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
zstyle -t ':omz:function:update-omz' color && printf "$FG[blue]"
printf 'Hooray! oh-my-zsh is up-to-date :)'
touch ~/.omz-update
else
zstyle -t ':omz:function:update-omz' color && printf "$FG[red]"
printf 'Oh no! There was an error updating oh-my-zsh :('