From fe96310282c19c9af0e2ee79af774a6a15d36be4 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 3 Sep 2020 15:56:16 +0100 Subject: [PATCH] add install script --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..0ec37b9 --- /dev/null +++ b/install.sh @@ -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