backup zshrc file on upgrade

This commit is contained in:
Cormac Relf 2011-11-23 17:40:18 +11:00
commit 7c0c91cb0b

View file

@ -27,6 +27,7 @@ then
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
# update the zsh file
_update_zsh_update
cat ~/.zshrc > $ZSH/templates/zshrc-backup
fi
fi
else