You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exact equivalent is not possible in bash because unlike in zsh, you have to register a completion function for each command, command by command. So, we have to use a different mechanism to implement similar functionality.
Write a function for a specific type of list and bind it to a dedicated key like so:
Similarly, you can write functions for directories, processes, etc and bind them to different keys. Or, you could write a smarter "one-size-fits-all" function that extracts the name of the command on the prompt and automatically starts fzf with the most appropriate type of list. That would be really cool.
man fzf
)Info
Problem / Steps to reproduce
Not sure how to implement "Dedicated completion key" (https://github.com/junegunn/fzf/wiki/Configuring-fuzzy-completion) for bash. Here is my attempt at it (complete with commented out failed attempts):
Thanks!
The text was updated successfully, but these errors were encountered: