From 099f2f2e88fd919be1da6ef8583a88ca35ab32d9 Mon Sep 17 00:00:00 2001 From: mlunax Date: Thu, 24 Sep 2020 01:29:32 +0200 Subject: [PATCH] update install.sh --- .zshrc | 2 +- install.zsh | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.zshrc b/.zshrc index 670ad84..0274f81 100644 --- a/.zshrc +++ b/.zshrc @@ -9,7 +9,7 @@ source $ZSH/oh-my-zsh.sh plugins=(git docker virtualenv) -export EDITOR=nano +export EDITOR=vim export JAVA_HOME= for f in $OTHER/*.zsh; do diff --git a/install.zsh b/install.zsh index 14154d4..f4bda38 100755 --- a/install.zsh +++ b/install.zsh @@ -1,13 +1,13 @@ #!/usr/bin/env zsh # env, because some OSes keep zsh in /bin (I'm looking at you, Alpine) -if [[ "$1" == "update" ]]; then - cp .zshrc $HOME - if [ -d "${HOME}/.zsh" ]; then - rm -r $HOME/.zsh - fi - cp -r .zsh $HOME - exit -fi +# if [[ "$1" == "update" ]]; then +# cp .zshrc $HOME +# if [ -d "${HOME}/.zsh" ]; then +# rm -r $HOME/.zsh +# fi +# cp -r .zsh $HOME +# exit +# fi cp .zshrc $HOME if [ ! -d "${HOME}/.oh-my-zsh" ]; then sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"