Merge branch 'master' into mininux

This commit is contained in:
Debucquoy committed 2024-01-24 08:56:41 +01:00
commit 9baf9fe901
10 files changed
+168 -84

No files matched your search

+1 -1
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"