halfassed attempt at a script to help set up a new environment
This commit is contained in:
parent
300582ddfb
commit
0734f4e15e
2 changed files with 13 additions and 6 deletions
13
init.sh
Executable file
13
init.sh
Executable 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
|
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue