mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
backup zshrc file on upgrade
This commit is contained in:
parent
757fa3314d
commit
7c0c91cb0b
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue