Lot of small changes

This commit is contained in:
tonitch committed 2024-01-09 16:08:23 +01:00
1 parent 695f79c9ee
commit 666c87e30c
9 files changed
+166 -83

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"