diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-06 16:50:46 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-06 16:50:46 +0100 |
| commit | fdb9d0baf798c147360a2ca44ea6761abf7f96c3 (patch) | |
| tree | 17e71ed3284ab6e28079e226030faee71c355d81 /install.sh | |
| parent | c5eacb8ca315bbf5f9e03e19505ff9f14eacca49 (diff) | |
| download | dotfiles-fdb9d0baf798c147360a2ca44ea6761abf7f96c3.tar.gz dotfiles-fdb9d0baf798c147360a2ca44ea6761abf7f96c3.tar.bz2 dotfiles-fdb9d0baf798c147360a2ca44ea6761abf7f96c3.zip | |
Vim madness started, fix install.sh typo
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 |
