halfassed attempt at a script to help set up a new environment

This commit is contained in:
Stefen Auris 2017-07-27 18:15:29 -04:00
parent 300582ddfb
commit 0734f4e15e
2 changed files with 13 additions and 6 deletions

13
init.sh Executable file
View file

@ -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