Skip to content

Commit

Permalink
fix: remove missing fzf --no-separator option
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienjacquet committed Jan 16, 2024
1 parent 32fab51 commit e7e8ebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zsh-ssh.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ fzf-complete-ssh() {
--header-lines=2 \
--reverse \
--prompt='SSH Remote > ' \
--no-separator \
--bind 'shift-tab:up,tab:down,bspace:backward-delete-char/eof' \
--preview 'ssh -T -G $(cut -f 1 -d " " <<< {}) | grep -i -E "^User |^HostName |^Port |^ControlMaster |^ForwardAgent |^LocalForward |^IdentityFile |^RemoteForward |^ProxyCommand |^ProxyJump " | column -t' \
--preview-window=right:40%
Expand All @@ -221,7 +220,8 @@ fzf-complete-ssh() {

# Fall back to default completion
else
zle ${fzf_ssh_default_completion:-expand-or-complete}
pass
# zle ${fzf_ssh_default_completion:-expand-or-complete}
fi
}

Expand Down

0 comments on commit e7e8ebe

Please sign in to comment.