Lot of small changes

This commit is contained in:
2024-01-03 11:04:20 +01:00
parent 71b5d1313a
commit 00c6530485
9 changed files with 166 additions and 83 deletions

View File

@ -4,7 +4,7 @@
session_name="$(whoami)_sess"
if [ ! -z $1 ]; then
ssh -t "$1" "tmux attach -t $session_name || tmux new -s $session_name"
ssh -t "$1" "tmux attach -t $session_name || DISPLAY=:0 tmux new -s $session_name"
else
echo "Usage: sshtmux HOSTNAME"
echo "You must specify a hostname"