From 061283bac77474a4aac40e2d2719ce6bd26d7816 Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Sun, 12 Mar 2023 10:52:54 +0000 Subject: [PATCH] Always run tmux in ~ --- tmux_pair.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmux_pair.bash b/tmux_pair.bash index 658a7be..e5cadbe 100755 --- a/tmux_pair.bash +++ b/tmux_pair.bash @@ -16,7 +16,7 @@ if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then exit fi -cd "$(dirname "$0")" +pushd ~ SOCKET_PATH="/var/tmux_share/shared" SHARED_USER="foxsoft" # Should change this to use getent group tmux @@ -60,3 +60,4 @@ else echo "Unrecognised argument. Use -h for help." fi +popd