Commit cbec6e8
committed
Dynamically enable filename completion in BASH instead of calling _filedir
`_filedir` is a function provided by the bash-completion project, not by BASH
itself. I was seeing inconsistent completion results with multi-word/escaped
results as the completer was returning filenames, but wasn't in `filenames`
mode.
I went to enable filename completion mode to get better completion
behaviour for paths from `_filedir`, but it turns out the completion hook function
can just be switched to BASH's default file/dir completion behaviour instead.1 parent 0240a08 commit cbec6e8
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments