diff options
author | Max Hille | 2022-11-08 13:50:17 +0000 |
---|---|---|
committer | GitHub | 2022-11-08 13:50:17 +0000 |
commit | 64359f8b484062e8c17b02fd2b2d690bb5bdfbd7 (patch) | |
tree | 8fdedc831d2d3a584cc1904a8859d3c2e1de1e8e | |
parent | bb303cf41d5bd02641bf436e07b08bd4ae5418de (diff) |
bash completion: use builtin filenames option (#4648)
Use a builtin bash option which detects filenames in completion outputs
and reflects this in sensible <tab> completion behaviour.
-rw-r--r-- | contrib/completion/hx.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/hx.bash b/contrib/completion/hx.bash index 89f3283c..01b42deb 100644 --- a/contrib/completion/hx.bash +++ b/contrib/completion/hx.bash @@ -19,5 +19,5 @@ _hx() { COMPREPLY=($(compgen -fd -W "-h --help --tutor -V --version -v -vv -vvv --health -g --grammar --vsplit --hsplit -c --config --log" -- $2)) ;; esac -} && complete -F _hx hx +} && complete -o filenames -F _hx hx |