bash-complete-partial-path
bash-complete-partial-path copied to clipboard
Deterministic completion for directories only adds a trailing slash after second Tab press
trafficstars
Suppose I want to cd to .config/gedit. With usual bash, I do:
$ cd .co<TAB>
which completes it to
$ cd .config/
and I can type the rest.
With partial path completion enabled, I do
$ cd .co<TAB>
which completes it to
$ cd .config
and then only a second Tab keypress completes it to
$ cd .config/
Demo: https://asciinema.org/a/549122
Original PR #24 had been left unfinished by author, this issue welcomes help from new contributors!