rm -f this_file_will_be_deleted rm -f bin/config-update.sh if ! [ -d $HOME/.oh-my-zsh ]; then if which curl ; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 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