mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
completion: adopt commandline -x replacing deprecated -o
This gives us more accurate completions because completion scripts get expanded paths
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user