From e0e8e8933bfffb86e980bfe40a803de458c5d8d9 Mon Sep 17 00:00:00 2001 From: Max Hille Date: Tue, 8 Nov 2022 14:50:17 +0100 Subject: [PATCH] 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 89f3283c8257b..01b42deb60cd0 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