Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion in zsh is always based on first command #1992

Closed
5 of 10 tasks
RobSis opened this issue Apr 19, 2020 · 2 comments · Fixed by #4082
Closed
5 of 10 tasks

Completion in zsh is always based on first command #1992

RobSis opened this issue Apr 19, 2020 · 2 comments · Fixed by #4082

Comments

@RobSis
Copy link

RobSis commented Apr 19, 2020

  • I have read through the manual page (man fzf)
  • I have the latest version of fzf
  • I have searched through the existing issues

Info

  • OS
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

Problem / Steps to reproduce

In bash, you can invoke different completions in one line, e.g.:

ssh **<Tab>; ls **<Tab>; unalias **<Tab>;

But in zsh, the ssh menu would be displayed everytime.

@MenkeTechnologies
Copy link

MenkeTechnologies commented Aug 10, 2020

see my comments on how I solved partitioning the command line to get command word. Probably too complicated for fzf. Maybe there is an easier way.

@RobSis
Copy link
Author

RobSis commented Nov 10, 2024

Works great! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants