| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 | #!/bin/bashDIR=$(pwd)# Choose only the templateif [ ! $1 ]then    echo "Please specify [template suffix]. for a local zsh config."    exitfi# Install Templateif [ -f $HOME/.zshrc.local -o -h $HOME/.zshrc.local -o -d $HOME/.zshrc.local ]then    rm -i $HOME/.zshrc.localfiln -s $DIR/zshrc.local.$1 $HOME/.zshrc.local# Install all dotfilesif [ -f $HOME/.zshrc -o -h $HOME/.zshrc -o -d $HOME/.zshrc ]then    rm -ri $HOME/.zshrcfiln -s $DIR/zshrc $HOME/.zshrcfor i in vimrc vim bashrc tmux.conf zshrc emacs.d dircolors compton.confdoif [ -f $HOME/.$i -o -h $HOME/.$i -o -d $HOME/.$i ]    then        rm -ri $HOME/.$i    fi    ln -s $DIR/$i $HOME/.$idone# Nvimmkdir -p $HOME/.config/if [ -d $HOME/.config/nvim ]then    rm -ri $HOME/.config/nvimfiln -s $DIR/vim $HOME/.config/nvim# Antigenif [ -h $HOME/.antigen.zsh ]then    rm -i $HOME/.antigen.zshfiln -s $DIR/antigen/antigen.zsh $HOME/.antigen.zsh# Xmonadif [ -h $HOME/.xmonad ]then    rm -i $HOME/.xmonadfiln -s $DIR/xmonad $HOME/.xmonadif [ -h $HOME/.xmobarrc ]then    rm -i $HOME/.xmobarrcfiln -s $DIR/xmonad/xmobarrc $HOME/.xmobarrc# Emacs desktop fileif [ -h $HOME/.local/share/applications ]then    ln -s $DIR/emacs.d/emacs-client.desktop $HOME/.local/share/applications/emacs-client.desktopfi
 |