fixed symlink bugs in script
This commit is contained in:
parent
ffb3b94b35
commit
a7bbfb798d
2 changed files with 16 additions and 10 deletions
2
deps.sh
2
deps.sh
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
sudo apt-get install tmux zsh vim powerline autojump htop mc
|
|
24
init.sh
24
init.sh
|
@ -1,13 +1,21 @@
|
||||||
#!/bin/bash
|
#!/bin/zsh
|
||||||
#install pre-req.
|
#install pre-req.
|
||||||
echo "installing required packages"
|
echo "installing required packages"
|
||||||
./deps.sh
|
sudo apt-get install tmux \
|
||||||
|
zsh \
|
||||||
|
vim \
|
||||||
|
powerline\
|
||||||
|
autojump \
|
||||||
|
htop \
|
||||||
|
mc\
|
||||||
|
curl
|
||||||
|
|
||||||
#remove existing configs, if they exist
|
#remove existing configs, if they exist
|
||||||
#rm -ri ~/.tmux.conf
|
rm -ri ~/.tmux.conf
|
||||||
#rm -ri ~/.zsh-custom
|
rm -ri ~/.zsh
|
||||||
#rm -ri ~/.vimrc
|
rm -ri ~/.vimrc
|
||||||
#rm -ri ~/.vim
|
rm -ri ~/.vim
|
||||||
#rm -ri ~/.zshrc
|
rm -ri ~/.zshrc
|
||||||
|
|
||||||
#make links
|
#make links
|
||||||
ln -s /home/`whoami`/stevset/.tmux.conf /home/`whoami`/.tmux.conf
|
ln -s /home/`whoami`/stevset/.tmux.conf /home/`whoami`/.tmux.conf
|
||||||
|
@ -18,7 +26,7 @@ ln -s /home/`whoami`/stevset/.zsh /home/`whoami`/.zsh
|
||||||
|
|
||||||
#Download Antigen
|
#Download Antigen
|
||||||
curl -sL https://git.io/antibody | bash -s
|
curl -sL https://git.io/antibody | bash -s
|
||||||
echo 'source <(antibody init)' >> ~/.zshrc
|
#echo 'source <(antibody init)' >> ~/.zshrc
|
||||||
|
|
||||||
#set new shell
|
#set new shell
|
||||||
echo "set new shell to zsh"
|
echo "set new shell to zsh"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue