install script now asks for sudo, otherwise tmux-vim-select-pane cannot be installed

This commit is contained in:
Dreaded_X 2014-08-28 22:49:56 +02:00
parent 4aec08bfca
commit 51281ee3af
2 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,9 @@
#!/bin/bash #!/bin/bash
if [ $EUID != 0 ]; then
sudo "$0" "$@"
exit $?
fi
ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf
ln -s ~/.dotfiles/zshrc ~/.zshrc ln -s ~/.dotfiles/zshrc ~/.zshrc
ln -s ~/.dotfiles/oh-my-zsh ~/.oh-my-zsh ln -s ~/.dotfiles/oh-my-zsh ~/.oh-my-zsh

1
vim/vim Symbolic link
View File

@ -0,0 +1 @@
/home/tim/.dotfiles/vim