diff options
author | tsxv478 <atvx717@infraredcombat.xyz> | 2024-12-02 20:20:07 +0300 |
---|---|---|
committer | tsxv478 <atvx717@infraredcombat.xyz> | 2024-12-02 20:20:07 +0300 |
commit | 0a093d73222fe72a183fc7b10a6b37f191be2e69 (patch) | |
tree | c5340af452c639edc8d7a8a0e8158c29e1a40a6d | |
parent | b2570adabaca9c11f32662bf9ef2cee06d91fc86 (diff) |
sshmenu: tmux -u option
-rwxr-xr-x | sshmenu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |