diff --git a/install.sh b/install.sh index 447ec5d..a6ec457 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,9 @@ #!/bin/bash +if [ $EUID != 0 ]; then + sudo "$0" "$@" + exit $? +fi + ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf ln -s ~/.dotfiles/zshrc ~/.zshrc ln -s ~/.dotfiles/oh-my-zsh ~/.oh-my-zsh diff --git a/vim/vim b/vim/vim new file mode 120000 index 0000000..446e7c0 --- /dev/null +++ b/vim/vim @@ -0,0 +1 @@ +/home/tim/.dotfiles/vim \ No newline at end of file