fixed symlink bugs in script

This commit is contained in:
Stefen Auris 2017-09-05 00:02:19 -04:00
parent ffb3b94b35
commit a7bbfb798d
2 changed files with 16 additions and 10 deletions

24
init.sh
View file

@ -1,13 +1,21 @@
#!/bin/bash
#!/bin/zsh
#install pre-req.
echo "installing required packages"
./deps.sh
sudo apt-get install tmux \
zsh \
vim \
powerline\
autojump \
htop \
mc\
curl
#remove existing configs, if they exist
#rm -ri ~/.tmux.conf
#rm -ri ~/.zsh-custom
#rm -ri ~/.vimrc
#rm -ri ~/.vim
#rm -ri ~/.zshrc
rm -ri ~/.tmux.conf
rm -ri ~/.zsh
rm -ri ~/.vimrc
rm -ri ~/.vim
rm -ri ~/.zshrc
#make links
ln -s /home/`whoami`/stevset/.tmux.conf /home/`whoami`/.tmux.conf
@ -18,7 +26,7 @@ ln -s /home/`whoami`/stevset/.zsh /home/`whoami`/.zsh
#Download Antigen
curl -sL https://git.io/antibody | bash -s
echo 'source <(antibody init)' >> ~/.zshrc
#echo 'source <(antibody init)' >> ~/.zshrc
#set new shell
echo "set new shell to zsh"