From fdb9d0baf798c147360a2ca44ea6761abf7f96c3 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 6 Mar 2020 16:50:46 +0100 Subject: Vim madness started, fix install.sh typo --- install.sh | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index d866f32..4076d59 100755 --- a/install.sh +++ b/install.sh @@ -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 -- cgit