Refined script to change shell and install powerline

This commit is contained in:
Stefen Auris 2017-08-08 21:46:24 -04:00
parent a744220379
commit b16fba6fea

11
init.sh
View file

@ -1,13 +1,18 @@
#!/bin/bash
#install pre-req.
sudo apt-get install tmux zsh vim
echo "installing required packages"
sudo apt-get install tmux zsh vim powerline
#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/.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
#set new shell
echo "set new shell to zsh"
chsh -s /bin/zsh