Refined script to change shell and install powerline
This commit is contained in:
parent
a744220379
commit
b16fba6fea
1 changed files with 8 additions and 3 deletions
11
init.sh
11
init.sh
|
@ -1,13 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#install pre-req.
|
#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
|
#backup existing configs, if they exist
|
||||||
|
|
||||||
#make links
|
#make links
|
||||||
ln -s /home/`whoami`/stevset/.bash_aliases /home/`whoami`/.bash_aliases
|
#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/.bashrc /home/`whoami`/.bashrc
|
||||||
ln -s /home/`whoami`/stevset/.tmux.conf /home/`whoami`/.tmux.conf
|
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/.zshrc /home/`whoami`/.zshrc
|
||||||
ln -s /home/`whoami`/stevset/.oh-my-zsh /home/`whoami`/.oh-my-zsh
|
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/.vim /home/`whoami`/.vim
|
||||||
ln -s /home/`whoami`/stevset/.vimrc /home/`whoami`/.vimrc
|
ln -s /home/`whoami`/stevset/.vimrc /home/`whoami`/.vimrc
|
||||||
|
|
||||||
|
#set new shell
|
||||||
|
echo "set new shell to zsh"
|
||||||
|
chsh -s /bin/zsh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue