summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2024-12-02 20:20:07 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2024-12-02 20:20:07 +0300
commit24f6c0907c0574df5bd083220a560332387af8fb (patch)
treec5340af452c639edc8d7a8a0e8158c29e1a40a6d
parente3aa3acbe6435dd1dc6ef0541e0930a02683f912 (diff)
sshmenu: tmux -u option
-rwxr-xr-xsshmenu4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshmenu b/sshmenu
index 4902b10..8bec492 100755
--- a/sshmenu
+++ b/sshmenu
@@ -5,11 +5,11 @@ if [ $DISPLAY ]; then
[ "$host" ] || exit 0
- setsid -f $TERMINAL -e ssh $host -t "tmux new -A"
+ setsid -f $TERMINAL -e ssh $host -t "tmux -u new -A"
else
host=$(grep "^Host" $HOME/.ssh/config | cut -d ' ' -f 2 | fzf -e --reverse --prompt "SSH to: ")
[ "$host" ] || exit 0
- ssh $host -t "tmux new -A"
+ ssh $host -t "tmux -u new -A"
fi