diff options
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 24 |
1 files changed, 14 insertions, 10 deletions
@@ -8,18 +8,18 @@ [ -z $DOTDIR ] && DOTDIR=`pwd` # Creating links -ls -sf $DOTDIR/.zshrc $HOME/.zshrc -ls -sf $DOTDIR/.vimrc $HOME/.vimrc +ln -sf $DOTDIR/.zshrc $HOME/.zshrc +ln -sf $DOTDIR/.vimrc $HOME/.vimrc [ ! -d $HOME/.xmonad ] && mkdir $HOME/.xmonad -ls -sf $DOTDIR/xmonad.hs $HOME/.xmonad/xmonad.hs +ln -sf $DOTDIR/xmonad.hs $HOME/.xmonad/xmonad.hs -ls -sf $DOTDIR/.gdbinit $HOME/.gdbinit -ls -sf $DOTDIR/.ghci $HOME/.ghci -ls -sf $DOTDIR/.gitconfig $HOME/.gitconfig +ln -sf $DOTDIR/.gdbinit $HOME/.gdbinit +ln -sf $DOTDIR/.ghci $HOME/.ghci +ln -sf $DOTDIR/.gitconfig $HOME/.gitconfig [ ! -d $HOME/.config ] && mkdir $HOME/.config -ls -sf $DOTDIR/redshift.conf $HOME/.config/redshift.conf +ln -sf $DOTDIR/redshift.conf $HOME/.config/redshift.conf ################ # dependencies # @@ -33,10 +33,14 @@ vim -c "PlugInstall" -c "qa" # zsh pluggins [ ! -d $HOME/.zsh ] && make $HOME/.zsh # pure theme -git clone https://github.com/sindresorhus/pure $HOME/.zsh/pure +[ ! -d $HOME/.zsh/pure ] && \ + git clone https://github.com/sindresorhus/pure \ + $HOME/.zsh/pure # syntax hightlighting -git clone https://github.com/zsh-users/zsh-syntax-highlighting \ +[ ! -d $HOME/.zsh/zsh-syntax-highlighting ] && \ + git clone https://github.com/zsh-users/zsh-syntax-highlighting \ $HOME/.zsh/zsh-syntax-highlighting # you should use -git clone https://github.com/MichaelAquilina/zsh-you-should-use \ +[ ! -d $HOME/.zsh/zsh-you-should-use ] && \ + git clone https://github.com/MichaelAquilina/zsh-you-should-use \ $HOME/.zsh/zsh-you-should-use |
