diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-04-03 19:14:45 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-04-03 19:14:45 -0500 |
commit | 20ca8355ddc1291e1f1788231c8ef6d28f2cc449 (patch) | |
tree | 1eabb43789450b78364f9d9cf8f073b42f98743e /tmux/.local/bin | |
parent | a5467415db7a021019ff6f013aae69d66d843259 (diff) |
fix(tmux): update for new sshr syntax
Diffstat (limited to 'tmux/.local/bin')
-rwxr-xr-x | tmux/.local/bin/tmux-ssh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tmux/.local/bin/tmux-ssh b/tmux/.local/bin/tmux-ssh index 610b8bb..e812fdd 100755 --- a/tmux/.local/bin/tmux-ssh +++ b/tmux/.local/bin/tmux-ssh @@ -12,9 +12,8 @@ if [ "$#" -eq 0 ]; then HOST=$(tmux display -p '#h' 2>/dev/null) set -- "$( - tac "$TMUX_SSH_HISTFILE" | - sed "/^${ATTACHED}\$/d" | - fzf-tmux -p20%,20% -- --print-query -d/ --with-nth -1 | + sshr --all --exclude="$ATTACHED" | + fzf-tmux -p20%,20% -- --print-query --tac | tail -1 )" fi |