2017-10-11 17:17:35 +00:00
|
|
|
complete -c configure -s h -l help -x -a "short recursive" -d "Display help and exit"
|
|
|
|
complete -c configure -s V -l version -d "Display version and exit"
|
|
|
|
complete -c configure -s q -l quiet -d "Quiet mode"
|
|
|
|
complete -c configure -l cache-file -f -d "Cache test results in specified file"
|
|
|
|
complete -c configure -s C -l config-cache -d "Cache test results in file config.cache"
|
|
|
|
complete -c configure -s n -l no-create -d "Do not create output files"
|
2019-01-12 06:05:23 +00:00
|
|
|
complete -c configure -l srcdir -d "Set source directory" -a "(__fish_complete_directories)" -x
|
|
|
|
complete -c configure -l prefix -d "Architecture-independent install directory" -a "(__fish_complete_directories)" -x
|
|
|
|
complete -c configure -l exec-prefix -d "Architecture-dependent install directory" -a "(__fish_complete_directories)" -x
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c configure -l build -d "Configure for building on BUILD" -x
|
|
|
|
complete -c configure -l host -d "Cross-compile to build programs to run on HOST" -x
|
|
|
|
complete -c configure -l target -d "Configure for building compilers for TARGET" -x
|
2018-04-17 19:56:42 +00:00
|
|
|
|
|
|
|
# use autoconf's --help to generate completions:
|
2018-11-30 10:27:02 +00:00
|
|
|
complete -c 'configure' -a '(for tok in (commandline -opc)
|
|
|
|
if string match -q "*configure" -- $tok
|
|
|
|
__fish_parse_configure $tok
|
|
|
|
break
|
|
|
|
end
|
|
|
|
end)'
|