add install script

This commit is contained in:
Ray Elliott 2020-09-03 15:56:16 +01:00
parent 313eba3dc4
commit fe96310282
1 changed files with 12 additions and 0 deletions

12
install.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
if [ -e "$HOME/.tmux" ] ; then
mv "$HOME/.tmux" "$HOME/.tmux-original"
fi
if [ -e "$HOME/.tmux.conf" ] ; then
mv "$HOME/.tmux.conf" "$HOME/.tmux.conf-original"
fi
ln -s "$HOME/.config/tmux" .tmux
ln -s "$HOME/.config/tmux/tmux.conf" .tmux.conf