zsh-autocomplete
zsh-autocomplete copied to clipboard
Complete all components of a path
Discussed in https://github.com/marlonrichert/zsh-autocomplete/discussions/676
Originally posted by op06072 December 16, 2023
What do you want?
Hi I want directory autocomplete like this (/ho/op -> /home/op06072).
Why do you want this?
I use this feature very often in terminal. Cause I can complete directory input with just one 'tap' click.
Who else would benefit from this?
Everyone inputting directory
How should it work?
Given the following situation:
- Everytime when I know full directory and input the directory
When I perform the following steps:
- Input the incomplete directory (/ho/op)
- Input 'tab' key
- The directory is completed (/home/op06072)
Then I expect the following to happen:
- pressing down 'tab' after input directory make directory completed
Thanks for making awsome zsh plugin
Autocomplete disables this by default, because it used to be that, if you tried to complete a non-existing path this way, it could make completion hang for a very long time. However, I just tested it with the latest version of Autocomplete and this no longer appears to be the case. I will add it back.