completion: adopt commandline -x replacing deprecated -o

This gives us more accurate completions because completion scripts get
expanded paths
This commit is contained in:
Johannes Altmanninger
2024-01-22 07:42:45 +01:00
parent 798527d79a
commit 29f35d6cdf
150 changed files with 1394 additions and 1394 deletions

View File

@@ -85,7 +85,7 @@ complete -c configure -l host -d "Cross-compile to build programs to run on HOST
complete -c configure -l target -d "Configure for building compilers for TARGET" -x
# use autoconf's --help to generate completions:
complete -c configure -a '(for tok in (commandline -opc)
complete -c configure -a '(for tok in (commandline -xpc)
if string match -q "*configure" -- $tok
__fish_parse_configure $tok
break