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