fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Aaron Gyescompletions: --description -> -d68527ff20

master
2.4 KiB28 linesraw
1# pkg-config
2complete -f -c pkg-config -l modversion -d 'Print versions of the specified libraries'
3complete -f -c pkg-config -l version -d 'Display the version of pkg-config and quit'
4complete -f -c pkg-config -l help -d 'Displays a help message and quit'
5complete -f -c pkg-config -l print-errors -d 'Print message when errors occur'
6complete -f -c pkg-config -l silence-errors -d 'Stay quiet when errors occur'
7complete -f -c pkg-config -l errors-to-stdout -d 'Print errors to stdout instead of stderr'
8complete -f -c pkg-config -l debug -d 'Print debugging information'
9complete -f -c pkg-config -l cflags -d 'Print pre-processor and compile flags for the specified libraries'
10complete -f -c pkg-config -l cflags-only-I -d 'This prints the -I part of "--cflags".'
11complete -f -c pkg-config -l libs -d 'Print link flags'
12complete -f -c pkg-config -l libs-only-L -d 'This prints the -L/-R part of "--libs".'
13complete -f -c pkg-config -l libs-only-l -d 'This prints the -l part of "--libs"'
14# TODO: Something like 'pkg-config --print-variables $lib' should offer the options here - the difficulty is determining $lib
15complete -f -c pkg-config -l variable -d 'This returns the value of a variable defined in a package\'s .pc file'
16complete -f -c pkg-config -l define-variable -d 'This sets a global value for a variable'
17complete -f -c pkg-config -l print-variables -d 'Returns a list of all variables defined in the package'
18complete -f -c pkg-config -l uninstalled -d 'Return success if any -uninstalled packages are used'
19complete -f -c pkg-config -l max-version -d 'Test if a package has at most the specified version'
20complete -f -c pkg-config -l atleast-version -d 'Test if a package has at least this version'
21complete -f -c pkg-config -l exact-version -d 'Test if a package has exactly this version'
22complete -f -c pkg-config -l exists -d 'Test if a package exists'
23complete -f -c pkg-config -l static -d 'Output libraries suitable for static linking'
24complete -f -c pkg-config -l list-all -d 'List all modules found in the pkg-config path'
25complete -f -c pkg-config -l print-provides -d 'List all modules the given packages provides'
26complete -f -c pkg-config -l print-requires -d 'List all modules the given packages requires'
27complete -f -c pkg-config -l print-requires-private -d 'List all modules the given packages requires for static linking'
28complete -f -c pkg-config -a '(command pkg-config --list-all | string replace -r " (.*)" "\t\$1")'