From 0734f4e15eaf4371dd7b62fe641637e5c0047349 Mon Sep 17 00:00:00 2001 From: steveokard Date: Thu, 27 Jul 2017 18:15:29 -0400 Subject: [PATCH] halfassed attempt at a script to help set up a new environment --- init.sh | 13 +++++++++++++ make_links.sh | 6 ------ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100755 init.sh delete mode 100644 make_links.sh 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 -