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
I know there are several techniques and a built in functionality to sort of complete paths when typing cd <tab> - like the cd **<tab> and Alt+C.
I do not wish to use the ** (or any) prefix, and I do not want to see the fzf menu. I just want it suggest (as if using --filter) fuzzy-matched directories in addition to the native cd autocomplete, using the native shell completion.
In other words, I wish to implement this:
$ cd smd<tab>
/some/directory # highest fzf score
/some/other/directory # next fzf match
/opt/smd # since /opt is in my CDPATH (offered by native completion)
./smd # offered by native completion
I have spent hours searching, any hint is appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I know there are several techniques and a built in functionality to sort of complete paths when typing
cd <tab>
- like thecd **<tab>
and Alt+C.I do not wish to use the
**
(or any) prefix, and I do not want to see the fzf menu. I just want it suggest (as if using--filter
) fuzzy-matched directories in addition to the nativecd
autocomplete, using the native shell completion.In other words, I wish to implement this:
I have spent hours searching, any hint is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions