From c9a684dd7c450d07d873f79a234290289d4fd35d Mon Sep 17 00:00:00 2001 From: "Kaz Saita(WSL2)" Date: Mon, 6 May 2024 00:39:48 +0900 Subject: [PATCH] add tmux install script --- install_posix/install_tmux.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 install_posix/install_tmux.sh diff --git a/install_posix/install_tmux.sh b/install_posix/install_tmux.sh new file mode 100644 index 0000000..224f74b --- /dev/null +++ b/install_posix/install_tmux.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +echo "configuring tmux.." +src=`pwd`/../tmux.conf +dest=${HOME}/.tmux.conf +if [ -e ${dest} ]; then + echo "~/.tmux.conf exists. abort" + exit 1 +fi + +ln -s ${src} ${dest} +echo "done." +