Merge branch 'master' into mininux

This commit is contained in:
Debucquoy
2024-01-24 08:56:41 +01:00
10 changed files with 168 additions and 84 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"