aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMax Hille2022-11-08 13:50:17 +0000
committerGitHub2022-11-08 13:50:17 +0000
commit64359f8b484062e8c17b02fd2b2d690bb5bdfbd7 (patch)
tree8fdedc831d2d3a584cc1904a8859d3c2e1de1e8e /contrib
parentbb303cf41d5bd02641bf436e07b08bd4ae5418de (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.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/hx.bash2
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