diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index acf0255..6a3f307 --- a/install.sh +++ b/install.sh @@ -2,16 +2,13 @@ mkdir -p $HOME/.ssh -for link in bashrc gitconfig screenrc Xresources Xdefaults Xmodmap themes fonts aliases do; +for link in bashrc gitconfig screenrc Xresources Xdefaults Xmodmap themes fonts aliases ;do - rm -rf $HOME/.$link - - - ln -s $(pwd)/$link $HOME/.$link + rm -rf $HOME/.$link && ln -s $(pwd)/$link $HOME/.$link; -; done +done ln -s $(pwd)/sshconfig $HOME/.ssh/config -cat $(pwd)/pubkeys/* > ~/.ssh/authorized_keys \ No newline at end of file +cat $(pwd)/pubkeys/* > ~/.ssh/authorized_keys