Skip to content

--no-separator stops plugin from functioning #36

@Skylighty

Description

@Skylighty

Hello there, very nice plugins, but frustrated me for a while, because it wasn't working if flag --no-separator was set in the code of plugin.

Spec:

  • zsh v.5.8.1
  • antigen pm
  • ubuntu 22.04 wsl
  • fzf 0.29 (devel)

Problematic code:

result=$(_fzf_list_generator $result | fzf \
      --height 40% \
      --ansi \
      --border \
      --cycle \
      --info=inline \
      --header-lines=2 \
      --reverse \
      --prompt='SSH Remote > ' \
      --query=$fuzzy_input \
      --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%
    )

Fix:
Delete --no-separator flag from the command, line 223 in zsh-ssh.zsh or alternatively - use static binary of fzf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions