diff options
Diffstat (limited to 'tmux/.local/bin')
-rwxr-xr-x | tmux/.local/bin/tmux-sshr | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tmux/.local/bin/tmux-sshr b/tmux/.local/bin/tmux-sshr index 11186ff..1f0c566 100755 --- a/tmux/.local/bin/tmux-sshr +++ b/tmux/.local/bin/tmux-sshr @@ -8,10 +8,8 @@ if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then fi if [ "$#" -eq 0 ]; then - ATTACHED=$(tmux display -p '#{?#{m:*ssh,#{socket_path}},#S,#{host}}' 2>/dev/null) - set -- "$( - sshr --all --exclude="$ATTACHED" | + sshr --all --exclude-attached | fzf-tmux -p20%,20% -- --print-query --tac | tail -1 )" |