diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-07-26 21:54:02 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-07-26 21:54:02 +0200 |
| commit | 35f4b5e7d2e190a899e9ab3c58619d03460db53b (patch) | |
| tree | 28fe9ddace603de820cc879fcfc380917563a9fa /install.sh | |
| parent | fd76d9129dab827f7143fa180da6d0e4dbad33fa (diff) | |
| download | dotfiles-35f4b5e7d2e190a899e9ab3c58619d03460db53b.tar.gz dotfiles-35f4b5e7d2e190a899e9ab3c58619d03460db53b.tar.bz2 dotfiles-35f4b5e7d2e190a899e9ab3c58619d03460db53b.zip | |
Added mail config with mutt
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/install.sh b/install.sh deleted file mode 100755 index 3cbe6a3..0000000 --- a/install.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -create_dotfile_link() -{ - ln -svf $DOTDIR/$1 $HOME/$2 -} - -create_dotfile_link_same() -{ - create_dotfile_link $1 $1 -} - -########################### -# dotfiles install script # -########################### - -# dotfiles directory -[ -z $DOTDIR ] && export DOTDIR=`pwd` - -# Creating links -create_dotfile_link_same .zshrc -create_dotfile_link_same .bashrc -create_dotfile_link_same .vimrc -create_dotfile_link_same .pluggins.vim -[ ! -d $HOME/.vim/plugin ] && mkdir -p $HOME/.vim/plugin -create_dotfile_link grep.vim .vim/plugin/grep.vim - -[ ! -d $HOME/.xmonad ] && mkdir $HOME/.xmonad -create_dotfile_link xmonad.hs .xmonad/xmonad.hs - -create_dotfile_link_same .gdbinit -create_dotfile_link_same .ghci -create_dotfile_link_same .gitconfig -create_dotfile_link_same muttrc - -[ ! -d $HOME/.config ] && mkdir $HOME/.config -create_dotfile_link redshift.conf .config/redshift.conf - -ln -sf $DOTDIR/.xinitrc $HOME/.xinitrc -ln -sf $DOTDIR/.zprofile $HOME/.zprofile - -################ -# dependencies # -################ - -[ $# -ge 1 ] || [ "$1" = "--ln" ] && exit 0 -echo "Installing Dependencies" - -# vim Plug -PLUGFILE=$HOME/.vim/autoload/plug.vim -PLUGURL='https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' -[ ! -f $PLUGFILE ] && echo "Downloading plug.vim" && \ - curl -fLo $PLUGFILE --create-dirs $PLUGURL -echo "Installing plug.vim Pluggins" -vim -c "PlugInstall" -c "qa" - -# zsh pluggins -[ ! -d $HOME/.zsh ] && make $HOME/.zsh -# pure theme -[ ! -d $HOME/.zsh/pure ] && echo "Installing zsh pure theme" && \ - git clone https://github.com/sindresorhus/pure \ - $HOME/.zsh/pure -# syntax hightlighting -[ ! -d $HOME/.zsh/zsh-syntax-highlighting ] && echo "Installing zsh syntax highlighting plugin" && \ - git clone https://github.com/zsh-users/zsh-syntax-highlighting \ - $HOME/.zsh/zsh-syntax-highlighting -# you should use -[ ! -d $HOME/.zsh/zsh-you-should-use ] && echo "Installing zsh you should use plugin" && \ - git clone https://github.com/MichaelAquilina/zsh-you-should-use \ - $HOME/.zsh/zsh-you-should-use |
