diff options
Diffstat (limited to 'home/var/system')
| -rw-r--r-- | home/var/system/config-updater/post-update | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/home/var/system/config-updater/post-update b/home/var/system/config-updater/post-update index 42ae53d..d570079 100644 --- a/home/var/system/config-updater/post-update +++ b/home/var/system/config-updater/post-update @@ -6,4 +6,11 @@ if ! [ -d $HOME/.oh-my-zsh ]; then elif which wget ; then sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" fi + if [ -f .zshrc ] ; then + if [ -f .zshrc.pre-oh-my-zsh ] ; then + cat .zshrc.pre-oh-my-zsh > .zshrc + rm .zshrc + fi + fi fi +rm -f .zshrc.pre-oh-my-zsh |
