1 files changed,
4 insertions(+),
1 deletions(-)
M
install.sh
··· 7 7 read -p "Install zsh config [y/n]: " ZSH_CONF 8 8 9 9 if [[ "$VIM_CONF" = "y" ]]; then 10 - sudo apt-get install vim curl git 10 + sudo apt-get install vim curl git -y 11 11 12 12 curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim 13 13 ln vimrc $HOME_PAHT/.vimrc ··· 18 18 ln gitignore_global $HOME_PAHT/.gitignore_global 19 19 20 20 elif [[ "$BASH_CONF" = "y" ]]; then 21 + sudo apt-get install bash -y 21 22 ln bashrc $HOME_PAHT/.bashrc 22 23 23 24 elif [[ "$TMUX_CONF" = "y" ]]; then 25 + sudo apt-get install tmux git -y 24 26 git clone https://github.com/gpakosz/.tmux.git $HOME_PAHT/.tmux 25 27 mv $HOME_PAHT/.tmux/.tmux.conf $HOME_PAHT/.tmux.conf 26 28 mv $HOME_PAHT/.tmux/.tmux.conf.local $HOME_PAHT/.tmux.conf.local 27 29 # rm -rf $HOME_PAHT/.tmux 28 30 29 31 elif [[ "$ZSH_CONF" = "y" ]]; then 32 + sudo apt-get install zsh curl git 30 33 sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 31 34 32 35 echo "alias cls='clear'" >> $HOME_PAHT/.zshrc