From 64359f8b484062e8c17b02fd2b2d690bb5bdfbd7 Mon Sep 17 00:00:00 2001 From: Max Hille Date: Tue, 8 Nov 2022 14:50:17 +0100 Subject: bash completion: use builtin filenames option (#4648) Use a builtin bash option which detects filenames in completion outputs and reflects this in sensible completion behaviour.--- contrib/completion/hx.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2