diff --git a/init.sh b/init.sh new file mode 100755 index 0000000..148885f --- /dev/null +++ b/init.sh @@ -0,0 +1,13 @@ +#!/bin/bash +#install pre-req. +sudo apt-get install tmux zsh vim +#backup existing configs, if they exist + +#make links +ln -s /home/`whoami`/stevset/.bash_aliases /home/`whoami`/.bash_aliases +ln -s /home/`whoami`/stevset/.bashrc /home/`whoami`/.bashrc +ln -s /home/`whoami`/stevset/.tmux.conf /home/`whoami`/.tmux.conf +ln -s /home/`whoami`/stevset/.zshrc /home/`whoami`/.zshrc +ln -s /home/`whoami`/stevset/.oh-my-zsh /home/`whoami`/.oh-my-zsh +ln -s /home/`whoami`/stevset/.vim /home/`whoami`/.vim +ln -s /home/`whoami`/stevset/.vimrc /home/`whoami`/.vimrc diff --git a/make_links.sh b/make_links.sh deleted file mode 100644 index 5627cde..0000000 --- a/make_links.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -#check we are in the correct folder, else exit -ln -s .bash_aliases ~/.bash_aliases -ln -s .bashrc ~/.bashrc -ln -s .tmux.conf ~/.tmux.conf -