mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-24 11:53:09 +00:00
Reformat completion scripts
These were excluded from style.fish
This commit is contained in:
parent
15c50703ce
commit
ce245704d7
217 changed files with 5726 additions and 5715 deletions
|
@ -1,16 +1,16 @@
|
|||
|
||||
complete -c abook -s h -d 'Show usage'
|
||||
complete -c abook -s C -l config -d 'Use an alternative configuration file' -r
|
||||
complete -c abook -l datafile -d 'Use an alternative addressbook file' -r
|
||||
complete -c abook -l mutt-query -d 'Make a query for mutt' -x
|
||||
complete -c abook -l add-email -d 'Read email message from stdin and add the sender'
|
||||
complete -c abook -l add-email-quiet -d 'Same as --add-email. Without confirmation'
|
||||
complete -c abook -l convert -d 'Convert address book files'
|
||||
complete -c abook -l datafile -d 'Use an alternative addressbook file' -r
|
||||
complete -c abook -l mutt-query -d 'Make a query for mutt' -x
|
||||
complete -c abook -l add-email -d 'Read email message from stdin and add the sender'
|
||||
complete -c abook -l add-email-quiet -d 'Same as --add-email. Without confirmation'
|
||||
complete -c abook -l convert -d 'Convert address book files'
|
||||
|
||||
set -l convert 'contains -- --convert (commandline -po)'
|
||||
complete -c abook -l informat -d 'Input file format' -xa '(__fish_complete_abook_formats in)' -n $convert
|
||||
complete -c abook -l outformat -d 'Output file format' -xa '(__fish_complete_abook_formats out)' -n $convert
|
||||
complete -c abook -l infile -d 'Input file (default: stdin)' -r -n $convert
|
||||
complete -c abook -l outfile -d 'Output file (default: stdout)' -r -n $convert
|
||||
complete -c abook -l informat -d 'Input file format' -xa '(__fish_complete_abook_formats in)' -n $convert
|
||||
complete -c abook -l outformat -d 'Output file format' -xa '(__fish_complete_abook_formats out)' -n $convert
|
||||
complete -c abook -l infile -d 'Input file (default: stdin)' -r -n $convert
|
||||
complete -c abook -l outfile -d 'Output file (default: stdout)' -r -n $convert
|
||||
|
||||
complete -c abook -l formats -d 'Print available formats'
|
||||
complete -c abook -l formats -d 'Print available formats'
|
||||
|
|
|
@ -83,9 +83,9 @@ complete -c ack -l thpppt -d 'Bill the Cat'
|
|||
complete -c ack -l bar -d 'The warning admiral'
|
||||
|
||||
# File types
|
||||
if type ack > /dev/null
|
||||
for type in (ack --dump 2>/dev/null | perl -lne 'print $1 if /^\s+--type-add=([^:]+)/' | uniq)
|
||||
complete -c ack -l $type -d "Allow $type file type"
|
||||
complete -c ack -l no$type -l no-$type -d "Don't allow $type file type"
|
||||
end
|
||||
if type ack >/dev/null
|
||||
for type in (ack --dump 2>/dev/null | perl -lne 'print $1 if /^\s+--type-add=([^:]+)/' | uniq)
|
||||
complete -c ack -l $type -d "Allow $type file type"
|
||||
complete -c ack -l no$type -l no-$type -d "Don't allow $type file type"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -59,17 +59,17 @@ function __fish_adb_list_uninstallable_packages
|
|||
end
|
||||
|
||||
function __fish_adb_list_files
|
||||
set -l token (commandline -ct)
|
||||
set -l token (commandline -ct)
|
||||
|
||||
# Have tab complete show initial / if nothing on current token
|
||||
if test -z "$token"
|
||||
set token "/"
|
||||
end
|
||||
# Have tab complete show initial / if nothing on current token
|
||||
if test -z "$token"
|
||||
set token "/"
|
||||
end
|
||||
|
||||
# Return list of directories suffixed with '/'
|
||||
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type d 2>/dev/null | awk '{print $1"/"}'
|
||||
# Return list of files
|
||||
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type f 2>/dev/null
|
||||
# Return list of directories suffixed with '/'
|
||||
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type d 2>/dev/null | awk '{print $1"/"}'
|
||||
# Return list of files
|
||||
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type f 2>/dev/null
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -2,13 +2,13 @@ set -l cmds 'scontrols scontents controls contents sget sset cset cget set get'
|
|||
complete -c amixer -xa "$cmds" -n "not __fish_seen_subcommand_from $cmds"
|
||||
complete -c amixer -n '__fish_seen_subcommand_from sset sget get set' -xa "(amixer scontrols | cut --delimiter \' --fields 2)"
|
||||
|
||||
complete -c amixer -s h -l help -d 'this help'
|
||||
complete -c amixer -s c -l card -r -d 'select the card'
|
||||
complete -c amixer -s D -l device -r -d 'select the device, default \'default\''
|
||||
complete -c amixer -s d -l debug -d 'debug mode'
|
||||
complete -c amixer -s n -l nocheck -d 'do not perform range checking'
|
||||
complete -c amixer -s v -l version -d 'print version of this program'
|
||||
complete -c amixer -s q -l quiet -d 'be quiet'
|
||||
complete -c amixer -s i -l inactive -d 'show also inactive controls'
|
||||
complete -c amixer -s a -l abstract -d 'select abstraction level' -xa 'none basic'
|
||||
complete -c amixer -s s -l stdin -d 'Read and execute commands from stdin sequentially'
|
||||
complete -c amixer -s h -l help -d 'this help'
|
||||
complete -c amixer -s c -l card -r -d 'select the card'
|
||||
complete -c amixer -s D -l device -r -d 'select the device, default \'default\''
|
||||
complete -c amixer -s d -l debug -d 'debug mode'
|
||||
complete -c amixer -s n -l nocheck -d 'do not perform range checking'
|
||||
complete -c amixer -s v -l version -d 'print version of this program'
|
||||
complete -c amixer -s q -l quiet -d 'be quiet'
|
||||
complete -c amixer -s i -l inactive -d 'show also inactive controls'
|
||||
complete -c amixer -s a -l abstract -d 'select abstraction level' -xa 'none basic'
|
||||
complete -c amixer -s s -l stdin -d 'Read and execute commands from stdin sequentially'
|
||||
|
|
|
@ -1,65 +1,65 @@
|
|||
complete -c animate -o alpha -d 'On, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape [option]' -xa '(animate -list alpha)'
|
||||
complete -c animate -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c animate -o backdrop -d 'Display image centered on a backdrop'
|
||||
complete -c animate -o channel -d 'Apply option to select image channels [type]' -xa '(animate -list channel)'
|
||||
complete -c animate -o colormap -d 'Shared or Private [type]' -x
|
||||
complete -c animate -o colorspace -d 'Alternate image colorspace [type]' -xa '(animate -list colorspace)'
|
||||
complete -c animate -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c animate -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c animate -o delay -d 'Display the next image after pausing [value]'
|
||||
complete -c animate -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c animate -o depth -d 'Image depth [value]'
|
||||
complete -c animate -o display -d 'Display image to this X server [server]'
|
||||
complete -c animate -o dispose -d 'Layer disposal method [method]' -xa '(animate -list dispose)'
|
||||
complete -c animate -o dither -d 'Apply error diffusion to image [method]' -xa '(animate -list dither)'
|
||||
complete -c animate -o filter -d 'Use this filter when resizing an image [type]' -xa '(animate -list filter)'
|
||||
complete -c animate -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c animate -o gamma -d 'Level of gamma correction [value]'
|
||||
complete -c animate -o geometry -d 'Preferred size and location of the Image window [geometry]'
|
||||
complete -c animate -o gravity -d 'Horizontal and vertical backdrop placement [type]' -xa '(animate -list gravity)'
|
||||
complete -c animate -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c animate -o immutable -d 'Displayed image cannot be modified'
|
||||
complete -c animate -o interlace -d 'Type of image interlacing scheme [type]' -xa '(animate -list interlace)'
|
||||
complete -c animate -o interpolate -d 'Pixel color interpolation method [method]' -xa '(animate -list interpolate)'
|
||||
complete -c animate -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c animate -o loop -d 'Loop images then exit [iterations]'
|
||||
complete -c animate -o map -d 'Display image using this Standard Colormap [type]' -x
|
||||
complete -c animate -o monitor -d 'Monitor progress '
|
||||
complete -c animate -o pause -d 'Seconds to pause before reanimating'
|
||||
complete -c animate -o page -d 'Size and location of an image canvas (setting) [geometry]'
|
||||
complete -c animate -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(animate -list colorspace)'
|
||||
complete -c animate -o quiet -d 'Suppress all warning messages'
|
||||
complete -c animate -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c animate -o remote -d 'Command execute a command in an remote display process'
|
||||
complete -c animate -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c animate -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c animate -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c animate -o set -d 'Attribute set an image attribute [ value]'
|
||||
complete -c animate -o size -d 'Width and height of image [geometry]'
|
||||
complete -c animate -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c animate -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c animate -o verbose -d 'Print detailed information about the image'
|
||||
complete -c animate -o visual -d 'Display image using this visual type [type]' -x
|
||||
complete -c animate -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(animate -list virtual-pixel)'
|
||||
complete -c animate -o window -d 'Display image to background of this window [id]' -xa 'root (__fish_print_xwindows)'
|
||||
complete -c animate -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c animate -o crop -d 'Preferred size and location of the cropped image [geometry]'
|
||||
complete -c animate -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c animate -o monochrome -d 'Transform image to black and white'
|
||||
complete -c animate -o repage -d 'Size and location of an image canvas (operator) [geometry]'
|
||||
complete -c animate -o resample -d 'Change the resolution of an image [geometry]'
|
||||
complete -c animate -o resize -d 'Resize the image [geometry]'
|
||||
complete -c animate -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c animate -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c animate -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c animate -o trim -d 'Trim image edges'
|
||||
complete -c animate -o coalesce -d 'Merge a sequence of images'
|
||||
complete -c animate -o flatten -d 'Flatten a sequence of images'
|
||||
complete -c animate -o debug -d 'Display copious debugging information [events]' -xa '(animate -list debug)'
|
||||
complete -c animate -o help -d 'Print program options'
|
||||
complete -c animate -o list -d 'Print a list of supported option arguments [type]' -xa '(animate -list list)'
|
||||
complete -c animate -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c animate -o version -d 'Print version information Press any button to map or unmap the Command widget'
|
||||
complete -c animate -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c animate -o scenes -d 'Range image scene range'
|
||||
complete -c animate -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
complete -c animate -o alpha -d 'On, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape [option]' -xa '(animate -list alpha)'
|
||||
complete -c animate -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c animate -o backdrop -d 'Display image centered on a backdrop'
|
||||
complete -c animate -o channel -d 'Apply option to select image channels [type]' -xa '(animate -list channel)'
|
||||
complete -c animate -o colormap -d 'Shared or Private [type]' -x
|
||||
complete -c animate -o colorspace -d 'Alternate image colorspace [type]' -xa '(animate -list colorspace)'
|
||||
complete -c animate -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c animate -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c animate -o delay -d 'Display the next image after pausing [value]'
|
||||
complete -c animate -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c animate -o depth -d 'Image depth [value]'
|
||||
complete -c animate -o display -d 'Display image to this X server [server]'
|
||||
complete -c animate -o dispose -d 'Layer disposal method [method]' -xa '(animate -list dispose)'
|
||||
complete -c animate -o dither -d 'Apply error diffusion to image [method]' -xa '(animate -list dither)'
|
||||
complete -c animate -o filter -d 'Use this filter when resizing an image [type]' -xa '(animate -list filter)'
|
||||
complete -c animate -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c animate -o gamma -d 'Level of gamma correction [value]'
|
||||
complete -c animate -o geometry -d 'Preferred size and location of the Image window [geometry]'
|
||||
complete -c animate -o gravity -d 'Horizontal and vertical backdrop placement [type]' -xa '(animate -list gravity)'
|
||||
complete -c animate -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c animate -o immutable -d 'Displayed image cannot be modified'
|
||||
complete -c animate -o interlace -d 'Type of image interlacing scheme [type]' -xa '(animate -list interlace)'
|
||||
complete -c animate -o interpolate -d 'Pixel color interpolation method [method]' -xa '(animate -list interpolate)'
|
||||
complete -c animate -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c animate -o loop -d 'Loop images then exit [iterations]'
|
||||
complete -c animate -o map -d 'Display image using this Standard Colormap [type]' -x
|
||||
complete -c animate -o monitor -d 'Monitor progress '
|
||||
complete -c animate -o pause -d 'Seconds to pause before reanimating'
|
||||
complete -c animate -o page -d 'Size and location of an image canvas (setting) [geometry]'
|
||||
complete -c animate -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(animate -list colorspace)'
|
||||
complete -c animate -o quiet -d 'Suppress all warning messages'
|
||||
complete -c animate -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c animate -o remote -d 'Command execute a command in an remote display process'
|
||||
complete -c animate -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c animate -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c animate -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c animate -o set -d 'Attribute set an image attribute [ value]'
|
||||
complete -c animate -o size -d 'Width and height of image [geometry]'
|
||||
complete -c animate -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c animate -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c animate -o verbose -d 'Print detailed information about the image'
|
||||
complete -c animate -o visual -d 'Display image using this visual type [type]' -x
|
||||
complete -c animate -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(animate -list virtual-pixel)'
|
||||
complete -c animate -o window -d 'Display image to background of this window [id]' -xa 'root (__fish_print_xwindows)'
|
||||
complete -c animate -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c animate -o crop -d 'Preferred size and location of the cropped image [geometry]'
|
||||
complete -c animate -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c animate -o monochrome -d 'Transform image to black and white'
|
||||
complete -c animate -o repage -d 'Size and location of an image canvas (operator) [geometry]'
|
||||
complete -c animate -o resample -d 'Change the resolution of an image [geometry]'
|
||||
complete -c animate -o resize -d 'Resize the image [geometry]'
|
||||
complete -c animate -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c animate -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c animate -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c animate -o trim -d 'Trim image edges'
|
||||
complete -c animate -o coalesce -d 'Merge a sequence of images'
|
||||
complete -c animate -o flatten -d 'Flatten a sequence of images'
|
||||
complete -c animate -o debug -d 'Display copious debugging information [events]' -xa '(animate -list debug)'
|
||||
complete -c animate -o help -d 'Print program options'
|
||||
complete -c animate -o list -d 'Print a list of supported option arguments [type]' -xa '(animate -list list)'
|
||||
complete -c animate -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c animate -o version -d 'Print version information Press any button to map or unmap the Command widget'
|
||||
complete -c animate -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c animate -o scenes -d 'Range image scene range'
|
||||
complete -c animate -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
|
|
|
@ -178,7 +178,7 @@ atom.io registry"
|
|||
complete -x -c apm -n "__fish_apm_using_command login" -l token -d "Specify API token"
|
||||
|
||||
# outdated & upgrade & update
|
||||
set -l upgrade_commands "outdated upgrade update"
|
||||
set -l upgrade_commands "outdated upgrade update"
|
||||
complete -f -c apm -n '__fish_apm_needs_command' -a $upgrade_commands -d "Upgrade out of date packages"
|
||||
complete -f -c apm -n "__fish_apm_using_command $upgrade_commands" -l json -d "Output outdated packages as JSON array"
|
||||
complete -x -c apm -n "__fish_apm_using_command $upgrade_commands" -l compatible -d "Only install packages/themes compatible with specified Atom version"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
|
||||
function __fish_complete_apropos
|
||||
if test (commandline -ct)
|
||||
set str (commandline -ct)
|
||||
apropos $str 2>/dev/null |sed -e "s/^\(.*$str\([^ ]*\).*\)\$/$str\2"\t"\1/"
|
||||
end
|
||||
if test (commandline -ct)
|
||||
set str (commandline -ct)
|
||||
apropos $str 2>/dev/null | sed -e "s/^\(.*$str\([^ ]*\).*\)\$/$str\2"\t"\1/"
|
||||
end
|
||||
end
|
||||
|
||||
complete -xc apropos -a '(__fish_complete_apropos)' -d "whatis entry"
|
||||
|
|
|
@ -30,12 +30,12 @@ complete -r -c apt-cache -s c -l config-file -d "Specify config file"
|
|||
complete -x -c apt-cache -s o -l option -d "Specify options"
|
||||
|
||||
function __fish_apt-cache_use_package -d 'Test if apt command should have packages as potential completion'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i contains show showpkg showsrc depends rdepends dotty policy
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i contains show showpkg showsrc depends rdepends dotty policy
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -c apt-cache -n '__fish_apt-cache_use_package' -a '(__fish_print_packages)' -d 'Package'
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
#completion for apt-get
|
||||
|
||||
function __fish_apt_no_subcommand -d 'Test if apt has yet to be given the subcommand'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i update upgrade dselect-upgrade dist-upgrade install remove purge source build-dep check clean autoclean changelog
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i update upgrade dselect-upgrade dist-upgrade install remove purge source build-dep check clean autoclean changelog
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
function __fish_apt_use_package -d 'Test if apt command should have packages as potential completion'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i contains install remove purge build-dep changelog
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i contains install remove purge build-dep changelog
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -c apt-get -n '__fish_apt_use_package' -a '(__fish_print_packages)' -d 'Package'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#apt-listbugs
|
||||
complete -c apt-listbugs -s h -l help -d "Display help and exit"
|
||||
complete -f -c apt-listbugs -s s -l severity -a "critical grave" -d "Set severity"
|
||||
complete -f -c apt-listbugs -s s -l severity -a "critical grave" -d "Set severity"
|
||||
complete -f -c apt-listbugs -s T -l tag -d "Tags you want to see"
|
||||
complete -f -c apt-listbugs -s S -l stats -a "outstanding 'pending upload' resolved done open" -d "Bug-status you want to see"
|
||||
complete -f -c apt-listbugs -s l -l showless -d "Ignore bugs in your system"
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
#completion for apt-mark
|
||||
|
||||
function __fish_apt_no_subcommand -d 'Test if apt has yet to be given the subcommand'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i auto manual hold unhold showauto showmanual showhold
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i auto manual hold unhold showauto showmanual showhold
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
function __fish_apt_use_package -d 'Test if apt command should have packages as potential completion'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i contains auto manual hold unhold
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i contains auto manual hold unhold
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -c apt-mark -n '__fish_apt_use_package' -a '(__fish_print_packages)' -d 'Package'
|
||||
|
|
|
@ -20,58 +20,58 @@ complete -c apt -n "__fish_seen_subcommand_from $pkg_subcmds" -a '(__fish_print_
|
|||
complete -c apt -n "__fish_seen_subcommand_from $installed_pkg_subcmds" -a '(__fish_print_packages --installed | string match -re -- "(?:\\b|_)"(commandline -ct | string escape --style=regex) | head -n 250)' -d 'Package'
|
||||
|
||||
# Support flags
|
||||
complete -x -f -c apt -s h -l help -d 'Display help'
|
||||
complete -x -f -c apt -s v -l version -d 'Display version and exit'
|
||||
complete -x -f -c apt -s h -l help -d 'Display help'
|
||||
complete -x -f -c apt -s v -l version -d 'Display version and exit'
|
||||
|
||||
# General options
|
||||
complete -f -c apt -s o -l option -d 'Set a configuration option'
|
||||
complete -f -c apt -s c -l config-file -d 'Configuration file'
|
||||
complete -f -c apt -s t -d 'Target release'
|
||||
complete -f -c apt -s o -l option -d 'Set a configuration option'
|
||||
complete -f -c apt -s c -l config-file -d 'Configuration file'
|
||||
complete -f -c apt -s t -d 'Target release'
|
||||
|
||||
# List
|
||||
__fish_apt_subcommand list -d 'List packages'
|
||||
__fish_apt_option list -l installed -d 'Installed packages'
|
||||
__fish_apt_option list -l upgradable -d 'Upgradable packages'
|
||||
__fish_apt_option list -l all-versions -d 'Show all versions of any package'
|
||||
__fish_apt_subcommand list -d 'List packages'
|
||||
__fish_apt_option list -l installed -d 'Installed packages'
|
||||
__fish_apt_option list -l upgradable -d 'Upgradable packages'
|
||||
__fish_apt_option list -l all-versions -d 'Show all versions of any package'
|
||||
|
||||
# Search
|
||||
__fish_apt_subcommand search -r -d 'Search for packages'
|
||||
__fish_apt_subcommand search -r -d 'Search for packages'
|
||||
|
||||
# Search
|
||||
__fish_apt_subcommand show -r -d 'Show package information'
|
||||
__fish_apt_subcommand show -r -d 'Show package information'
|
||||
|
||||
# Install
|
||||
__fish_apt_subcommand install -r -d 'Install packages'
|
||||
__fish_apt_subcommand install -r -d 'Install packages'
|
||||
|
||||
# Remove
|
||||
__fish_apt_subcommand remove -r -d 'Remove packages'
|
||||
__fish_apt_subcommand remove -r -d 'Remove packages'
|
||||
|
||||
# Edit sources
|
||||
__fish_apt_subcommand edit-sources -d 'Edit sources list'
|
||||
__fish_apt_subcommand edit-sources -d 'Edit sources list'
|
||||
|
||||
# Update
|
||||
__fish_apt_subcommand update -x -d 'Update package list'
|
||||
__fish_apt_subcommand update -x -d 'Update package list'
|
||||
|
||||
# Upgrade
|
||||
__fish_apt_subcommand upgrade -r -d 'Upgrade packages'
|
||||
__fish_apt_subcommand upgrade -r -d 'Upgrade packages'
|
||||
|
||||
# Full Upgrade
|
||||
__fish_apt_subcommand full-upgrade -r -d 'Upgrade packages, removing others when needed'
|
||||
__fish_apt_subcommand full-upgrade -r -d 'Upgrade packages, removing others when needed'
|
||||
|
||||
# Purge
|
||||
__fish_apt_subcommand purge -x -d 'Remove packages and delete their config files'
|
||||
__fish_apt_subcommand purge -x -d 'Remove packages and delete their config files'
|
||||
|
||||
# Changelog
|
||||
__fish_apt_subcommand changelog -r -d 'Download and display package changelog'
|
||||
__fish_apt_subcommand changelog -r -d 'Download and display package changelog'
|
||||
|
||||
# Autoremove
|
||||
__fish_apt_subcommand autoremove -d 'Remove packages no longer needed as dependencies'
|
||||
__fish_apt_subcommand autoremove -d 'Remove packages no longer needed as dependencies'
|
||||
|
||||
# Policy
|
||||
__fish_apt_subcommand policy -x -d 'Display source or package priorities'
|
||||
__fish_apt_subcommand policy -x -d 'Display source or package priorities'
|
||||
|
||||
# Depends
|
||||
__fish_apt_subcommand depends -r -d 'List package dependencies'
|
||||
__fish_apt_subcommand depends -r -d 'List package dependencies'
|
||||
|
||||
# Rdepends
|
||||
__fish_apt_subcommand rdepends -r -d 'List package reverse dependencies'
|
||||
__fish_apt_subcommand rdepends -r -d 'List package reverse dependencies'
|
||||
|
|
|
@ -1,68 +1,68 @@
|
|||
#completion for aptitude
|
||||
|
||||
function __fish_apt_no_subcommand -d 'Test if aptitude has yet to be given the subcommand'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i autoclean clean forget-new keep-all update safe-upgrade changelog full-upgrade download forbid-version hold install keep markauto purge reinstall remove show unhold unmarkauto search help
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
function __fish_apt_no_subcommand -d 'Test if aptitude has yet to be given the subcommand'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i autoclean clean forget-new keep-all update safe-upgrade changelog full-upgrade download forbid-version hold install keep markauto purge reinstall remove show unhold unmarkauto search help
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
function __fish_apt_use_package -d 'Test if aptitude command should have packages as potential completion'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i changelog full-upgrade download forbid-version hold install keep-all markauto purge reinstall remove show unhold unmarkauto
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
function __fish_apt_use_package -d 'Test if aptitude command should have packages as potential completion'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i changelog full-upgrade download forbid-version hold install keep-all markauto purge reinstall remove show unhold unmarkauto
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -c aptitude -n '__fish_apt_use_package' -a '(__fish_print_packages)' -d 'Package'
|
||||
complete -c aptitude -n '__fish_apt_use_package' -a '(__fish_print_packages)' -d 'Package'
|
||||
|
||||
complete -c aptitude -s h -l help -d 'Display a brief help message. Identical to the help action'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'autoclean' -d 'Remove any cached packages which can no longer be downloaded'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'clean' -d 'Remove all downloaded .deb files from the package cache directory'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'forget-new' -d 'Forget all internal information about what packages are \'new\''
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'keep-all' -d 'Cancel all scheduled actions on all packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'update' -d 'Update the list of available packages from the apt sources'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'safe-upgrade' -d 'Upgrade installed packages to their most recent version'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'changelog' -d 'Download and displays the Debian changelog for the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'full-upgrade' -d 'Upgrade, removing or installing packages as necessary'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'download' -d 'Download the packages to the current directory'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'forbid-version' -d 'Forbid the upgrade to a particular version'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'hold' -d 'Ignore the packages by future upgrade commands'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'install' -d 'Install the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'keep' -d 'Cancel any scheduled actions on the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'markauto' -d 'Mark packages as automatically installed'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'purge' -d 'Remove and delete all associated configuration and data files'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'reinstall' -d 'Reinstall the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'remove' -d 'Remove the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'show' -d 'Display detailed information about the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'unhold' -d 'Consider the packages by future upgrade commands'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'unmarkauto' -d 'Mark packages as manually installed'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'search' -d 'Search for packages matching one of the patterns'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'help' -d 'Display brief summary of the available commands and options'
|
||||
complete -c aptitude -s h -l help -d 'Display a brief help message. Identical to the help action'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'autoclean' -d 'Remove any cached packages which can no longer be downloaded'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'clean' -d 'Remove all downloaded .deb files from the package cache directory'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'forget-new' -d 'Forget all internal information about what packages are \'new\''
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'keep-all' -d 'Cancel all scheduled actions on all packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'update' -d 'Update the list of available packages from the apt sources'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'safe-upgrade' -d 'Upgrade installed packages to their most recent version'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'changelog' -d 'Download and displays the Debian changelog for the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'full-upgrade' -d 'Upgrade, removing or installing packages as necessary'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'download' -d 'Download the packages to the current directory'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'forbid-version' -d 'Forbid the upgrade to a particular version'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'hold' -d 'Ignore the packages by future upgrade commands'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'install' -d 'Install the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'keep' -d 'Cancel any scheduled actions on the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'markauto' -d 'Mark packages as automatically installed'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'purge' -d 'Remove and delete all associated configuration and data files'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'reinstall' -d 'Reinstall the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'remove' -d 'Remove the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'show' -d 'Display detailed information about the packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'unhold' -d 'Consider the packages by future upgrade commands'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'unmarkauto' -d 'Mark packages as manually installed'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'search' -d 'Search for packages matching one of the patterns'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c aptitude -a 'help' -d 'Display brief summary of the available commands and options'
|
||||
|
||||
complete -c aptitude -s D -l show-deps -d 'Show explanations of automatic installations and removals'
|
||||
complete -c aptitude -s d -l download-only -d 'Download Only'
|
||||
complete -c aptitude -s f -l fix-broken -d 'Correct broken dependencies'
|
||||
complete -c aptitude -l purge-unused -d 'Purge packages that are not required by any installed package'
|
||||
complete -c aptitude -s P -l prompt -d 'Always display a prompt'
|
||||
complete -c aptitude -s R -l without-recommends -d 'Do not treat recommendations as dependencies'
|
||||
complete -c aptitude -s r -l with-recommends -d 'Treat recommendations as dependencies'
|
||||
complete -c aptitude -s s -l simulate -d 'Don\'t perform the actions. Just show them'
|
||||
complete -c aptitude -l schedule-only -d 'Schedule operations to be performed in the future'
|
||||
complete -c aptitude -s q -l quiet -d 'Suppress incremental progress indicators'
|
||||
complete -c aptitude -s V -l show-versions -d 'Show which versions of packages will be installed'
|
||||
complete -c aptitude -s v -l verbose -d 'Display extra information'
|
||||
complete -c aptitude -l version -d 'Display the version of aptitude and compile information'
|
||||
complete -c aptitude -l visual-preview -d 'Start up the visual interface and display its preview screen'
|
||||
complete -c aptitude -s y -l assume-yes -d 'Assume the answer yes for all question prompts'
|
||||
complete -c aptitude -s Z -d 'Show how much disk space will be used or freed'
|
||||
complete -r -c aptitude -s F -l display-format -d 'Specify the format to be used by the search command'
|
||||
complete -r -c aptitude -s t -l target-release -d 'Set the release from which packages should be installed'
|
||||
complete -r -c aptitude -s O -l sort -d 'Specify the order for the output from the search command'
|
||||
complete -r -c aptitude -s o -d 'Set a configuration file option directly'
|
||||
complete -r -c aptitude -s w -l width -d 'Specify the display width for the output from the search command'
|
||||
complete -c aptitude -s D -l show-deps -d 'Show explanations of automatic installations and removals'
|
||||
complete -c aptitude -s d -l download-only -d 'Download Only'
|
||||
complete -c aptitude -s f -l fix-broken -d 'Correct broken dependencies'
|
||||
complete -c aptitude -l purge-unused -d 'Purge packages that are not required by any installed package'
|
||||
complete -c aptitude -s P -l prompt -d 'Always display a prompt'
|
||||
complete -c aptitude -s R -l without-recommends -d 'Do not treat recommendations as dependencies'
|
||||
complete -c aptitude -s r -l with-recommends -d 'Treat recommendations as dependencies'
|
||||
complete -c aptitude -s s -l simulate -d 'Don\'t perform the actions. Just show them'
|
||||
complete -c aptitude -l schedule-only -d 'Schedule operations to be performed in the future'
|
||||
complete -c aptitude -s q -l quiet -d 'Suppress incremental progress indicators'
|
||||
complete -c aptitude -s V -l show-versions -d 'Show which versions of packages will be installed'
|
||||
complete -c aptitude -s v -l verbose -d 'Display extra information'
|
||||
complete -c aptitude -l version -d 'Display the version of aptitude and compile information'
|
||||
complete -c aptitude -l visual-preview -d 'Start up the visual interface and display its preview screen'
|
||||
complete -c aptitude -s y -l assume-yes -d 'Assume the answer yes for all question prompts'
|
||||
complete -c aptitude -s Z -d 'Show how much disk space will be used or freed'
|
||||
complete -r -c aptitude -s F -l display-format -d 'Specify the format to be used by the search command'
|
||||
complete -r -c aptitude -s t -l target-release -d 'Set the release from which packages should be installed'
|
||||
complete -r -c aptitude -s O -l sort -d 'Specify the order for the output from the search command'
|
||||
complete -r -c aptitude -s o -d 'Set a configuration file option directly'
|
||||
complete -r -c aptitude -s w -l width -d 'Specify the display width for the output from the search command'
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ complete -f -c arc -n '__fish_arc_needs_command' -l conduit-token -d 'Specify th
|
|||
complete -f -c arc -n '__fish_arc_needs_command' -l conduit-version -d 'Force a version'
|
||||
complete -f -c arc -n '__fish_arc_needs_command' -l conduit-timeout -d 'Sets the timeout'
|
||||
complete -f -c arc -n '__fish_arc_needs_command' -l config -d 'Sets a config'
|
||||
complete -f -c arc -n '__fish_arc_needs_command' -l skip-arcconfig -d 'Skip the working copy configuration file'
|
||||
complete -f -c arc -n '__fish_arc_needs_command' -l skip-arcconfig -d 'Skip the working copy configuration file'
|
||||
complete -c arc -n '__fish_arc_needs_command' -l arcrc-file -d 'Use provided file instead of ~/.arcrc'
|
||||
|
||||
### shell-complete
|
||||
|
|
|
@ -22,5 +22,5 @@ complete -c asp -n "not __fish_seen_subcommand_from $commands" -a untrack -d "Re
|
|||
# This will run into the description race.
|
||||
complete -c asp -n "__fish_seen_subcommand_from checkout {diff,short,}log export list-{arches,repos} show update" -a "(asp list-all | string replace -r '.*/' '')" -f
|
||||
complete -c asp -n "__fish_seen_subcommand_from checkout {diff,short,}log export list-{arches,repos} show update untrack" -a "(asp list-local | string replace -r '.*/' '')" -f \
|
||||
-d "Locally tracked package"
|
||||
-d "Locally tracked package"
|
||||
|
||||
|
|
|
@ -4,20 +4,20 @@
|
|||
# for `aws` via `fish_update_completions` are pretty useless due to non-standard formatting.
|
||||
|
||||
function __s3_is_bucket
|
||||
commandline -ct | string match -q -r -- '^s3://[^/]?$'
|
||||
commandline -ct | string match -q -r -- '^s3://[^/]?$'
|
||||
end
|
||||
|
||||
function __s3_is_remote_path
|
||||
commandline -ct | string match -q -r -- "^s3://.*/.*"
|
||||
commandline -ct | string match -q -r -- "^s3://.*/.*"
|
||||
end
|
||||
|
||||
function __s3_ls_buckets
|
||||
aws s3 ls | string replace -rf '.* (\S+)$' 's3://$1/'
|
||||
aws s3 ls | string replace -rf '.* (\S+)$' 's3://$1/'
|
||||
end
|
||||
|
||||
function __s3_ls_dir
|
||||
set -l dir (commandline -ct | string replace -rf '(s3://.*/).*' '$1')
|
||||
printf "$dir%s\n" (aws s3 ls $dir 2>/dev/null | string replace -fr '^(:?\S+ +\S+ +\S+ |^.*PRE )(.*)' '$2')
|
||||
set -l dir (commandline -ct | string replace -rf '(s3://.*/).*' '$1')
|
||||
printf "$dir%s\n" (aws s3 ls $dir 2>/dev/null | string replace -fr '^(:?\S+ +\S+ +\S+ |^.*PRE )(.*)' '$2')
|
||||
end
|
||||
|
||||
# S3 remote completions
|
||||
|
@ -30,181 +30,181 @@ complete -c 'aws' -n "not __s3_is_remote_path && __fish_prev_arg_in mv cp rm" -a
|
|||
# This list is extracted from the output of `aws help`, which can't be ingested directly,
|
||||
# as it emits considerable ANSI output and other terminal control characters.
|
||||
set -l aws_services \
|
||||
acm \
|
||||
acm-pca \
|
||||
alexaforbusiness \
|
||||
amplify \
|
||||
apigateway \
|
||||
apigatewaymanagementapi \
|
||||
apigatewayv2 \
|
||||
application-autoscaling \
|
||||
appmesh \
|
||||
appstream \
|
||||
appsync \
|
||||
athena \
|
||||
autoscaling \
|
||||
autoscaling-plans \
|
||||
backup \
|
||||
batch \
|
||||
budgets \
|
||||
ce \
|
||||
chime \
|
||||
cloud9 \
|
||||
clouddirectory \
|
||||
cloudformation \
|
||||
cloudfront \
|
||||
cloudhsm \
|
||||
cloudhsmv2 \
|
||||
cloudsearch \
|
||||
cloudsearchdomain \
|
||||
cloudtrail \
|
||||
cloudwatch \
|
||||
codebuild \
|
||||
codecommit \
|
||||
codepipeline \
|
||||
codestar \
|
||||
cognito-identity \
|
||||
cognito-idp \
|
||||
cognito-sync \
|
||||
comprehend \
|
||||
comprehendmedical \
|
||||
configservice \
|
||||
configure \
|
||||
connect \
|
||||
cur \
|
||||
datapipeline \
|
||||
datasync \
|
||||
dax \
|
||||
deploy \
|
||||
devicefarm \
|
||||
directconnect \
|
||||
discovery \
|
||||
dlm \
|
||||
dms \
|
||||
docdb \
|
||||
ds \
|
||||
dynamodb \
|
||||
dynamodbstreams \
|
||||
ec2 \
|
||||
ecr \
|
||||
ecs \
|
||||
efs \
|
||||
eks \
|
||||
elasticache \
|
||||
elasticbeanstalk \
|
||||
elastictranscoder \
|
||||
elb \
|
||||
elbv2 \
|
||||
emr \
|
||||
es \
|
||||
events \
|
||||
firehose \
|
||||
fms \
|
||||
fsx \
|
||||
gamelift \
|
||||
glacier \
|
||||
globalaccelerator \
|
||||
glue \
|
||||
greengrass \
|
||||
guardduty \
|
||||
health \
|
||||
help \
|
||||
history \
|
||||
iam \
|
||||
importexport \
|
||||
inspector \
|
||||
iot \
|
||||
iot-data \
|
||||
iot-jobs-data \
|
||||
iot1click-devices \
|
||||
iot1click-projects \
|
||||
iotanalytics \
|
||||
kafka \
|
||||
kinesis \
|
||||
kinesis-video-archived-media \
|
||||
kinesis-video-media \
|
||||
kinesisanalytics \
|
||||
kinesisanalyticsv2 \
|
||||
kinesisvideo \
|
||||
kms \
|
||||
lambda \
|
||||
lex-models \
|
||||
lex-runtime \
|
||||
license-manager \
|
||||
lightsail \
|
||||
logs \
|
||||
machinelearning \
|
||||
macie \
|
||||
marketplace-entitlement \
|
||||
marketplacecommerceanalytics \
|
||||
mediaconnect \
|
||||
mediaconvert \
|
||||
medialive \
|
||||
mediapackage \
|
||||
mediastore \
|
||||
mediastore-data \
|
||||
mediatailor \
|
||||
meteringmarketplace \
|
||||
mgh \
|
||||
mobile \
|
||||
mq \
|
||||
mturk \
|
||||
neptune \
|
||||
opsworks \
|
||||
opsworks-cm \
|
||||
organizations \
|
||||
pi \
|
||||
pinpoint \
|
||||
pinpoint-email \
|
||||
pinpoint-sms-voice \
|
||||
polly \
|
||||
pricing \
|
||||
quicksight \
|
||||
ram \
|
||||
rds \
|
||||
rds-data \
|
||||
redshift \
|
||||
rekognition \
|
||||
resource-groups \
|
||||
resourcegroupstaggingapi \
|
||||
robomaker \
|
||||
route53 \
|
||||
route53domains \
|
||||
route53resolver \
|
||||
s3 \
|
||||
s3api \
|
||||
s3control \
|
||||
sagemaker \
|
||||
sagemaker-runtime \
|
||||
sdb \
|
||||
secretsmanager \
|
||||
securityhub \
|
||||
serverlessrepo \
|
||||
servicecatalog \
|
||||
servicediscovery \
|
||||
ses \
|
||||
shield \
|
||||
signer \
|
||||
sms \
|
||||
snowball \
|
||||
sns \
|
||||
sqs \
|
||||
ssm \
|
||||
stepfunctions \
|
||||
storagegateway \
|
||||
sts \
|
||||
support \
|
||||
swf \
|
||||
textract \
|
||||
transcribe \
|
||||
transfer \
|
||||
translate \
|
||||
waf \
|
||||
waf-regional \
|
||||
workdocs \
|
||||
worklink \
|
||||
workmail \
|
||||
workspaces \
|
||||
xray
|
||||
acm \
|
||||
acm-pca \
|
||||
alexaforbusiness \
|
||||
amplify \
|
||||
apigateway \
|
||||
apigatewaymanagementapi \
|
||||
apigatewayv2 \
|
||||
application-autoscaling \
|
||||
appmesh \
|
||||
appstream \
|
||||
appsync \
|
||||
athena \
|
||||
autoscaling \
|
||||
autoscaling-plans \
|
||||
backup \
|
||||
batch \
|
||||
budgets \
|
||||
ce \
|
||||
chime \
|
||||
cloud9 \
|
||||
clouddirectory \
|
||||
cloudformation \
|
||||
cloudfront \
|
||||
cloudhsm \
|
||||
cloudhsmv2 \
|
||||
cloudsearch \
|
||||
cloudsearchdomain \
|
||||
cloudtrail \
|
||||
cloudwatch \
|
||||
codebuild \
|
||||
codecommit \
|
||||
codepipeline \
|
||||
codestar \
|
||||
cognito-identity \
|
||||
cognito-idp \
|
||||
cognito-sync \
|
||||
comprehend \
|
||||
comprehendmedical \
|
||||
configservice \
|
||||
configure \
|
||||
connect \
|
||||
cur \
|
||||
datapipeline \
|
||||
datasync \
|
||||
dax \
|
||||
deploy \
|
||||
devicefarm \
|
||||
directconnect \
|
||||
discovery \
|
||||
dlm \
|
||||
dms \
|
||||
docdb \
|
||||
ds \
|
||||
dynamodb \
|
||||
dynamodbstreams \
|
||||
ec2 \
|
||||
ecr \
|
||||
ecs \
|
||||
efs \
|
||||
eks \
|
||||
elasticache \
|
||||
elasticbeanstalk \
|
||||
elastictranscoder \
|
||||
elb \
|
||||
elbv2 \
|
||||
emr \
|
||||
es \
|
||||
events \
|
||||
firehose \
|
||||
fms \
|
||||
fsx \
|
||||
gamelift \
|
||||
glacier \
|
||||
globalaccelerator \
|
||||
glue \
|
||||
greengrass \
|
||||
guardduty \
|
||||
health \
|
||||
help \
|
||||
history \
|
||||
iam \
|
||||
importexport \
|
||||
inspector \
|
||||
iot \
|
||||
iot-data \
|
||||
iot-jobs-data \
|
||||
iot1click-devices \
|
||||
iot1click-projects \
|
||||
iotanalytics \
|
||||
kafka \
|
||||
kinesis \
|
||||
kinesis-video-archived-media \
|
||||
kinesis-video-media \
|
||||
kinesisanalytics \
|
||||
kinesisanalyticsv2 \
|
||||
kinesisvideo \
|
||||
kms \
|
||||
lambda \
|
||||
lex-models \
|
||||
lex-runtime \
|
||||
license-manager \
|
||||
lightsail \
|
||||
logs \
|
||||
machinelearning \
|
||||
macie \
|
||||
marketplace-entitlement \
|
||||
marketplacecommerceanalytics \
|
||||
mediaconnect \
|
||||
mediaconvert \
|
||||
medialive \
|
||||
mediapackage \
|
||||
mediastore \
|
||||
mediastore-data \
|
||||
mediatailor \
|
||||
meteringmarketplace \
|
||||
mgh \
|
||||
mobile \
|
||||
mq \
|
||||
mturk \
|
||||
neptune \
|
||||
opsworks \
|
||||
opsworks-cm \
|
||||
organizations \
|
||||
pi \
|
||||
pinpoint \
|
||||
pinpoint-email \
|
||||
pinpoint-sms-voice \
|
||||
polly \
|
||||
pricing \
|
||||
quicksight \
|
||||
ram \
|
||||
rds \
|
||||
rds-data \
|
||||
redshift \
|
||||
rekognition \
|
||||
resource-groups \
|
||||
resourcegroupstaggingapi \
|
||||
robomaker \
|
||||
route53 \
|
||||
route53domains \
|
||||
route53resolver \
|
||||
s3 \
|
||||
s3api \
|
||||
s3control \
|
||||
sagemaker \
|
||||
sagemaker-runtime \
|
||||
sdb \
|
||||
secretsmanager \
|
||||
securityhub \
|
||||
serverlessrepo \
|
||||
servicecatalog \
|
||||
servicediscovery \
|
||||
ses \
|
||||
shield \
|
||||
signer \
|
||||
sms \
|
||||
snowball \
|
||||
sns \
|
||||
sqs \
|
||||
ssm \
|
||||
stepfunctions \
|
||||
storagegateway \
|
||||
sts \
|
||||
support \
|
||||
swf \
|
||||
textract \
|
||||
transcribe \
|
||||
transfer \
|
||||
translate \
|
||||
waf \
|
||||
waf-regional \
|
||||
workdocs \
|
||||
worklink \
|
||||
workmail \
|
||||
workspaces \
|
||||
xray
|
||||
|
||||
complete -c aws -n '__fish_is_first_arg' -xa "$aws_services"
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
complete -c bd -A -f
|
||||
|
||||
complete -c bd -s c -d "Classic mode: goes back to the first directory named as the string"
|
||||
complete -c bd -s s -d "Seems mode: goes back to the first directory containing string"
|
||||
complete -c bd -s i -d "Case insensitive move (implies seems mode)"
|
||||
complete -c bd -s c -d "Classic mode: goes back to the first directory named as the string"
|
||||
complete -c bd -s s -d "Seems mode: goes back to the first directory containing string"
|
||||
complete -c bd -s i -d "Case insensitive move (implies seems mode)"
|
||||
complete -c bd -s h -x -d "Display help and exit"
|
||||
|
||||
function __fish_bd_complete_dirs
|
||||
|
|
|
@ -1,92 +1,92 @@
|
|||
set -l subcommands add-blob alias-env attach-disk blobs cancel-task clean-up \
|
||||
cloud-check cloud-config config configs cpi-config create-env create-release \
|
||||
delete-config delete-deployment delete-disk delete-env delete-release \
|
||||
delete-snapshot delete-snapshots delete-stemcell delete-vm deploy deployment \
|
||||
deployments diff-config disks environment environments errands event events \
|
||||
export-release finalize-release generate-job generate-package help ignore \
|
||||
init-release inspect-release instances interpolate locks log-in log-out logs \
|
||||
manifest orphan-disk recreate releases remove-blob repack-stemcell \
|
||||
reset-release restart run-errand runtime-config scp snapshots ssh start \
|
||||
stemcells stop sync-blobs take-snapshot task tasks unignore \
|
||||
update-cloud-config update-config update-cpi-config update-resurrection \
|
||||
update-runtime-config upload-blobs upload-release upload-stemcell variables \
|
||||
vendor-package vms
|
||||
cloud-check cloud-config config configs cpi-config create-env create-release \
|
||||
delete-config delete-deployment delete-disk delete-env delete-release \
|
||||
delete-snapshot delete-snapshots delete-stemcell delete-vm deploy deployment \
|
||||
deployments diff-config disks environment environments errands event events \
|
||||
export-release finalize-release generate-job generate-package help ignore \
|
||||
init-release inspect-release instances interpolate locks log-in log-out logs \
|
||||
manifest orphan-disk recreate releases remove-blob repack-stemcell \
|
||||
reset-release restart run-errand runtime-config scp snapshots ssh start \
|
||||
stemcells stop sync-blobs take-snapshot task tasks unignore \
|
||||
update-cloud-config update-config update-cpi-config update-resurrection \
|
||||
update-runtime-config upload-blobs upload-release upload-stemcell variables \
|
||||
vendor-package vms
|
||||
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'add-blob' --description "Add blob"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'alias-env' --description "Alias environment to save URL and CA certificate"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'attach-disk' --description "Attaches disk to an instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'blobs' --description "List blobs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'cancel-task' --description "Cancel task at its next checkpoint"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'clean-up' --description "Clean up releases, stemcells, disks, etc."
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'cloud-check' --description "Cloud consistency check and interactive repair"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'cloud-config' --description "Show current cloud config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'config' --description "Show current config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'configs' --description "List configs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'cpi-config' --description "Show current CPI config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'create-env' --description "Create or update BOSH environment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'create-release' --description "Create release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-config' --description "Delete config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-deployment' --description "Delete deployment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-disk' --description "Delete disk"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-env' --description "Delete BOSH environment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-release' --description "Delete release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-snapshot' --description "Delete snapshot"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-snapshots' --description "Delete all snapshots in a deployment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-stemcell' --description "Delete stemcell"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-vm' --description "Delete VM"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'deploy' --description "Update deployment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'deployment' --description "Show deployment information"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'deployments' --description "List deployments"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'diff-config' --description "Diff two configs by ID"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'disks' --description "List disks"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'environment' --description "Show environment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'environments' --description "List environments"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'errands' --description "List errands"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'event' --description "Show event details"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'events' --description "List events"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'export-release' --description "Export the compiled release to a tarball"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'finalize-release' --description "Create final release from dev release tarball"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'generate-job' --description "Generate job"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'generate-package' --description "Generate package"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'help' --description "Show this help message"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'ignore' --description "Ignore an instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'init-release' --description "Initialize release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'inspect-release' --description "List release contents such as jobs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'instances' --description "List all instances in a deployment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'interpolate' --description "Interpolates variables into a manifest"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'locks' --description "List current locks"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'log-in' --description "Log in"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'log-out' --description "Log out"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'logs' --description "Fetch logs from instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'manifest' --description "Show deployment manifest"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'orphan-disk' --description "Orphan disk"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'recreate' --description "Recreate instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'releases' --description "List releases"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'remove-blob' --description "Remove blob"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'repack-stemcell' --description "Repack stemcell"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'reset-release' --description "Reset release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'restart' --description "Restart instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'run-errand' --description "Run errand"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'runtime-config' --description "Show current runtime config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'scp' --description "SCP to/from instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'snapshots' --description "List snapshots"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'ssh' --description "SSH into instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'start' --description "Start instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'stemcells' --description "List stemcells"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'stop' --description "Stop instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'sync-blobs' --description "Sync blobs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'take-snapshot' --description "Take snapshot"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'task' --description "Show task status and start tracking its output"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'tasks' --description "List running or recent tasks"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'unignore' --description "Unignore an instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-cloud-config' --description "Update current cloud config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-config' --description "Update config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-cpi-config' --description "Update current CPI config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-resurrection' --description "Enable/disable resurrection"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-runtime-config' --description "Update current runtime config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'upload-blobs' --description "Upload blobs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'upload-release' --description "Upload release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'upload-stemcell' --description "Upload stemcell"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'variables' --description "List variables"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'vendor-package' --description "Vendor package"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'vms' --description "List all VMs in all deployments"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'add-blob' --description "Add blob"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'alias-env' --description "Alias environment to save URL and CA certificate"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'attach-disk' --description "Attaches disk to an instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'blobs' --description "List blobs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'cancel-task' --description "Cancel task at its next checkpoint"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'clean-up' --description "Clean up releases, stemcells, disks, etc."
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'cloud-check' --description "Cloud consistency check and interactive repair"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'cloud-config' --description "Show current cloud config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'config' --description "Show current config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'configs' --description "List configs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'cpi-config' --description "Show current CPI config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'create-env' --description "Create or update BOSH environment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'create-release' --description "Create release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-config' --description "Delete config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-deployment' --description "Delete deployment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-disk' --description "Delete disk"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-env' --description "Delete BOSH environment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-release' --description "Delete release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-snapshot' --description "Delete snapshot"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-snapshots' --description "Delete all snapshots in a deployment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-stemcell' --description "Delete stemcell"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'delete-vm' --description "Delete VM"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'deploy' --description "Update deployment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'deployment' --description "Show deployment information"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'deployments' --description "List deployments"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'diff-config' --description "Diff two configs by ID"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'disks' --description "List disks"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'environment' --description "Show environment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'environments' --description "List environments"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'errands' --description "List errands"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'event' --description "Show event details"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'events' --description "List events"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'export-release' --description "Export the compiled release to a tarball"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'finalize-release' --description "Create final release from dev release tarball"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'generate-job' --description "Generate job"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'generate-package' --description "Generate package"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'help' --description "Show this help message"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'ignore' --description "Ignore an instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'init-release' --description "Initialize release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'inspect-release' --description "List release contents such as jobs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'instances' --description "List all instances in a deployment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'interpolate' --description "Interpolates variables into a manifest"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'locks' --description "List current locks"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'log-in' --description "Log in"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'log-out' --description "Log out"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'logs' --description "Fetch logs from instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'manifest' --description "Show deployment manifest"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'orphan-disk' --description "Orphan disk"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'recreate' --description "Recreate instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'releases' --description "List releases"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'remove-blob' --description "Remove blob"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'repack-stemcell' --description "Repack stemcell"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'reset-release' --description "Reset release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'restart' --description "Restart instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'run-errand' --description "Run errand"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'runtime-config' --description "Show current runtime config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'scp' --description "SCP to/from instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'snapshots' --description "List snapshots"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'ssh' --description "SSH into instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'start' --description "Start instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'stemcells' --description "List stemcells"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'stop' --description "Stop instance(s)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'sync-blobs' --description "Sync blobs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'take-snapshot' --description "Take snapshot"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'task' --description "Show task status and start tracking its output"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'tasks' --description "List running or recent tasks"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'unignore' --description "Unignore an instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-cloud-config' --description "Update current cloud config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-config' --description "Update config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-cpi-config' --description "Update current CPI config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-resurrection' --description "Enable/disable resurrection"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'update-runtime-config' --description "Update current runtime config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'upload-blobs' --description "Upload blobs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'upload-release' --description "Upload release"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'upload-stemcell' --description "Upload stemcell"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'variables' --description "List variables"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'vendor-package' --description "Vendor package"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c bosh -a 'vms' --description "List all VMs in all deployments"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function __bower_cmds
|
||||
echo -en "cache\tManage bower cache
|
||||
echo -en "cache\tManage bower cache
|
||||
help\tDisplay help information about Bower
|
||||
home\tOpens a package homepage into your favorite browser
|
||||
info\tInfo of a particular package
|
||||
|
@ -20,7 +20,7 @@ version\tBump a package version
|
|||
end
|
||||
|
||||
function __bower_args
|
||||
echo -en "-f\tMakes various commands more forceful
|
||||
echo -en "-f\tMakes various commands more forceful
|
||||
--force\tMakes various commands more forceful
|
||||
-j\tOutput consumable JSON
|
||||
--json\tOutput consumable JSON
|
||||
|
@ -41,14 +41,14 @@ function __bower_args
|
|||
end
|
||||
|
||||
function __bower_matching_pkgs
|
||||
bower search (commandline -ct) | string match -r "\S+[^\s]" | string match -v "Search"
|
||||
bower search (commandline -ct) | string match -r "\S+[^\s]" | string match -v "Search"
|
||||
end
|
||||
|
||||
# Output of `bower list` is a) slow, b) convoluted. Use `python` or `jq` instead.
|
||||
function __bower_list_installed
|
||||
if not test -e bower.json
|
||||
return 1
|
||||
end
|
||||
if not test -e bower.json
|
||||
return 1
|
||||
end
|
||||
|
||||
if set -l python (__fish_anypython)
|
||||
$python -c 'import json, sys; data = json.load(sys.stdin);
|
||||
|
@ -56,11 +56,11 @@ for k,v in data["dependencies"].items(): print(k + "\t" + v[:18])' bower.json 2>
|
|||
return
|
||||
end
|
||||
|
||||
if not type -q jq
|
||||
return 1
|
||||
end
|
||||
if not type -q jq
|
||||
return 1
|
||||
end
|
||||
|
||||
jq -r '.dependencies | to_entries[] | .key' bower.json
|
||||
jq -r '.dependencies | to_entries[] | .key' bower.json
|
||||
end
|
||||
|
||||
complete -c bower -n "__fish_is_first_token" -x -a '(__bower_cmds)'
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
function __fish_brew_get_cmd
|
||||
for c in (commandline -opc)
|
||||
if not string match -q -- '-*' $c
|
||||
echo $c
|
||||
for c in (commandline -opc)
|
||||
if not string match -q -- '-*' $c
|
||||
echo $c
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function __fish_brew_needs_command
|
||||
set cmd (__fish_brew_get_cmd)
|
||||
if not set -q cmd[2]
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
set cmd (__fish_brew_get_cmd)
|
||||
if not set -q cmd[2]
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_brew_using_command
|
||||
set index 2
|
||||
set index 2
|
||||
|
||||
if set -q argv[2]
|
||||
set index $argv[2]
|
||||
end
|
||||
|
||||
set cmd (__fish_brew_get_cmd)
|
||||
|
||||
if set -q cmd[$index]
|
||||
if [ $argv[1] = $cmd[$index] ]
|
||||
return 0
|
||||
if set -q argv[2]
|
||||
set index $argv[2]
|
||||
end
|
||||
end
|
||||
return 1
|
||||
|
||||
set cmd (__fish_brew_get_cmd)
|
||||
|
||||
if set -q cmd[$index]
|
||||
if [ $argv[1] = $cmd[$index] ]
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_brew_formulae
|
||||
|
@ -74,32 +74,32 @@ end
|
|||
########
|
||||
|
||||
function __fish_brew_is_subcommand_cask
|
||||
if __fish_brew_using_command cask
|
||||
for action in $argv
|
||||
if __fish_brew_using_command $action 3
|
||||
return 0
|
||||
end
|
||||
if __fish_brew_using_command cask
|
||||
for action in $argv
|
||||
if __fish_brew_using_command $action 3
|
||||
return 0
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_brew_needs_cask_action
|
||||
if __fish_brew_using_command cask
|
||||
set cmd (__fish_brew_get_cmd)
|
||||
if not set -q cmd[3]
|
||||
return 0
|
||||
if __fish_brew_using_command cask
|
||||
set cmd (__fish_brew_get_cmd)
|
||||
if not set -q cmd[3]
|
||||
return 0
|
||||
end
|
||||
end
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_brew_casks
|
||||
brew search --casks
|
||||
brew search --casks
|
||||
end
|
||||
|
||||
function __fish_brew_casks_installed
|
||||
brew cask list
|
||||
brew cask list
|
||||
end
|
||||
|
||||
|
||||
|
@ -108,28 +108,28 @@ end
|
|||
############
|
||||
|
||||
function __fish_brew_is_subcommand_services
|
||||
if __fish_brew_using_command services
|
||||
for action in $argv
|
||||
if __fish_brew_using_command $action 3
|
||||
return 0
|
||||
end
|
||||
if __fish_brew_using_command services
|
||||
for action in $argv
|
||||
if __fish_brew_using_command $action 3
|
||||
return 0
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_brew_needs_services_action
|
||||
if __fish_brew_using_command services
|
||||
set cmd (__fish_brew_get_cmd)
|
||||
if not set -q cmd[3]
|
||||
return 0
|
||||
if __fish_brew_using_command services
|
||||
set cmd (__fish_brew_get_cmd)
|
||||
if not set -q cmd[3]
|
||||
return 0
|
||||
end
|
||||
end
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_brew_services
|
||||
brew services list | awk '{if (NR>1) print $1}'
|
||||
brew services list | awk '{if (NR>1) print $1}'
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
# Completion for bundler
|
||||
|
||||
function __fish_bundle_no_command -d 'Test if bundle has been given no subcommand'
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -eq 1 ]
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -eq 1 ]
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_bundle_using_command -d 'Test if bundle has been given a specific subcommand'
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -gt 1 ]
|
||||
if [ $argv[1] = $cmd[2] ]
|
||||
return 0
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -gt 1 ]
|
||||
if [ $argv[1] = $cmd[2] ]
|
||||
return 0
|
||||
end
|
||||
end
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_bundled_gems
|
||||
bundle list | sed '1 d' | sed -e 's/\*//g' -e 's/(.*)//g' -e 's/^ *//g' -e 's/ *$//g'
|
||||
bundle list | sed '1 d' | sed -e 's/\*//g' -e 's/(.*)//g' -e 's/^ *//g' -e 's/ *$//g'
|
||||
end
|
||||
|
||||
# Options for all commands
|
||||
|
@ -56,7 +56,7 @@ complete -f -n '__fish_bundle_using_command install' -c bundle -l no-prune -d 'D
|
|||
complete -f -n '__fish_bundle_using_command install' -c bundle -l frozen -d 'Do not allow the Gemfile.lock to be updated after this install'
|
||||
|
||||
# Update
|
||||
complete -f -n '__fish_bundle_no_command' -c bundle -a 'update' -d 'Update dependencies to their latest versions'
|
||||
complete -f -n '__fish_bundle_no_command' -c bundle -a 'update' -d 'Update dependencies to their latest versions'
|
||||
complete -f -n '__fish_bundle_using_command update' -c bundle -l source -d 'The name of a :git or :path source used in the Gemfile'
|
||||
complete -f -n '__fish_bundle_using_command update' -c bundle -l local -d 'Do not attempt to fetch gems remotely and use the gem cache instead'
|
||||
complete -f -n '__fish_bundle_using_command update' -c bundle -l quiet -d 'Only output warnings and errors'
|
||||
|
@ -75,7 +75,7 @@ complete -f -n '__fish_bundle_using_command binstubs' -c bundle -l force -d 'Ove
|
|||
complete -f -n '__fish_bundle_using_command binstubs' -c bundle -a '(__fish_bundled_gems)'
|
||||
|
||||
# Exec
|
||||
complete -f -n '__fish_bundle_no_command' -c bundle -a 'exec' -d 'Execute a script in the context of the current bundle'
|
||||
complete -f -n '__fish_bundle_no_command' -c bundle -a exec -d 'Execute a script in the context of the current bundle'
|
||||
complete -f -n '__fish_bundle_using_command exec' -c bundle -l keep-file-descriptors -d 'Exec runs a command, providing it access to the gems in the bundle'
|
||||
|
||||
# Help
|
||||
|
@ -83,7 +83,7 @@ complete -f -n '__fish_bundle_no_command' -c bundle -a 'help' -d 'Describe avail
|
|||
complete -f -n '__fish_bundle_using_command help' -c bundle -a 'install' -d 'Install the gems specified by the Gemfile or Gemfile.lock'
|
||||
complete -f -n '__fish_bundle_using_command help' -c bundle -a 'update' -d 'Update dependencies to their latest versions'
|
||||
complete -f -n '__fish_bundle_using_command help' -c bundle -a 'package' -d 'Package .gem files into the vendor/cache directory'
|
||||
complete -f -n '__fish_bundle_using_command help' -c bundle -a 'exec' -d 'Execute a script in the context of the current bundle'
|
||||
complete -f -n '__fish_bundle_using_command help' -c bundle -a exec -d 'Execute a script in the context of the current bundle'
|
||||
complete -f -n '__fish_bundle_using_command help' -c bundle -a 'config' -d 'Specify and read configuration options for bundler'
|
||||
complete -f -n '__fish_bundle_using_command help' -c bundle -a 'check' -d 'Check bundler requirements for your application'
|
||||
complete -f -n '__fish_bundle_using_command help' -c bundle -a 'list' -d 'Show all of the gems in the current bundle'
|
||||
|
@ -145,7 +145,7 @@ complete -f -n '__fish_bundle_using_command init' -c bundle -l gemspec -d 'Use a
|
|||
|
||||
# Gem
|
||||
complete -f -n '__fish_bundle_no_command' -c bundle -a 'gem' -d 'Create a simple gem, suitable for development with bundler'
|
||||
complete -f -n '__fish_bundle_using_command gem' -c bundle -s b -l bin -d 'Generate a binary for your library'
|
||||
complete -f -n '__fish_bundle_using_command gem' -c bundle -s b -l bin -d 'Generate a binary for your library'
|
||||
complete -f -n '__fish_bundle_using_command gem' -c bundle -s t -l test -d 'Generate a test directory for your library (rspec or minitest)'
|
||||
complete -f -n '__fish_bundle_using_command gem' -c bundle -s e -l edit -d 'Path to your editor'
|
||||
complete -f -n '__fish_bundle_using_command gem' -c bundle -l ext -d 'Generate the boilerplate for C extension code'
|
||||
|
@ -155,7 +155,7 @@ complete -f -n '__fish_bundle_no_command' -c bundle -a 'platform' -d 'Displays p
|
|||
complete -f -n '__fish_bundle_using_command platform' -c bundle -l ruby -d 'Only display Ruby directive information'
|
||||
|
||||
# Clean
|
||||
complete -f -n '__fish_bundle_no_command' -c bundle -a 'clean' -d 'Cleans up unused gems in your bundler directory'
|
||||
complete -f -n '__fish_bundle_no_command' -c bundle -a 'clean' -d 'Cleans up unused gems in your bundler directory'
|
||||
complete -f -n '__fish_bundle_using_command clean' -c bundle -l dry-run -d 'Only print out changes, do not actually clean gems'
|
||||
complete -f -n '__fish_bundle_using_command clean' -c bundle -l force -d 'Forces clean even if --path is not set'
|
||||
|
||||
|
|
|
@ -7,22 +7,22 @@
|
|||
|
||||
# A simple wrapper to call busctl with the correct mode and output
|
||||
function __fish_busctl
|
||||
# TODO: If there's a "--address" argument we need to pass that
|
||||
# We also need to pass the _last_ of these (`busctl --user --system` operates on the system bus)
|
||||
set -l mode
|
||||
# TODO: If there's a "--address" argument we need to pass that
|
||||
# We also need to pass the _last_ of these (`busctl --user --system` operates on the system bus)
|
||||
set -l mode
|
||||
if __fish_contains_opt user
|
||||
set mode "--user"
|
||||
else
|
||||
set mode "--system"
|
||||
end
|
||||
set mode "--user"
|
||||
else
|
||||
set mode "--system"
|
||||
end
|
||||
command busctl $mode $argv --no-legend --no-pager 2>/dev/null
|
||||
end
|
||||
|
||||
function _fish_busctl
|
||||
set -l args a-address= s-show-machine u-unique A-acquired ä-activatable \
|
||||
m-match= S-size= l-list q-quiet v-verbose e-expect-reply= Ä-auto-start= \
|
||||
1-allow-interactive-authorization= t-timeout= 2-augment-creds= U-user 3-system \
|
||||
H/host= M/machine= n-no-pager N-no-legend h/help V-version
|
||||
m-match= S-size= l-list q-quiet v-verbose e-expect-reply= Ä-auto-start= \
|
||||
1-allow-interactive-authorization= t-timeout= 2-augment-creds= U-user 3-system \
|
||||
H/host= M/machine= n-no-pager N-no-legend h/help V-version
|
||||
set -l cmdline (commandline -opc) (commandline -ct)
|
||||
set -e cmdline[1]
|
||||
argparse $args -- $cmdline 2>/dev/null
|
||||
|
@ -91,27 +91,29 @@ function _fish_busctl
|
|||
end
|
||||
|
||||
function __fish_busctl_busnames
|
||||
__fish_busctl list --acquired | string replace -r '\s+.*$' ''
|
||||
# Describe unique names (":1.32") with their process (e.g. `:1.32\tsteam`)
|
||||
__fish_busctl list --unique | string replace -r '\s+\S+\s+(\S+)\s+.*$' '\t$1'
|
||||
__fish_busctl list --acquired | string replace -r '\s+.*$' ''
|
||||
# Describe unique names (":1.32") with their process (e.g. `:1.32\tsteam`)
|
||||
__fish_busctl list --unique | string replace -r '\s+\S+\s+(\S+)\s+.*$' '\t$1'
|
||||
end
|
||||
|
||||
function __fish_busctl_objects -a busname
|
||||
__fish_busctl tree --list $busname | string replace -r '\s+.*$' ''
|
||||
__fish_busctl tree --list $busname | string replace -r '\s+.*$' ''
|
||||
end
|
||||
|
||||
function __fish_busctl_interfaces -a busname -a object
|
||||
__fish_busctl introspect --list $busname $object | string replace -r '\s+.*$' ''
|
||||
__fish_busctl introspect --list $busname $object | string replace -r '\s+.*$' ''
|
||||
end
|
||||
|
||||
function __fish_busctl_members -a type -a busname -a object -a interface
|
||||
__fish_busctl introspect --list $busname $object $interface \
|
||||
| string match -- "* $type *" | string replace -r '.(\S+) .*' '$1'
|
||||
__fish_busctl introspect --list $busname $object $interface \
|
||||
| string match -- "* $type *" | string replace -r '.(\S+) .*' '$1'
|
||||
end
|
||||
|
||||
function __fish_busctl_signature -a busname -a object -a interface -a member
|
||||
__fish_busctl introspect --list $busname $object $interface \
|
||||
| string match ".$member *" | while read a b c d; echo $c; end
|
||||
__fish_busctl introspect --list $busname $object $interface \
|
||||
| string match ".$member *" | while read a b c d
|
||||
echo $c
|
||||
end
|
||||
end
|
||||
|
||||
### Commands
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
function __fish_complete_cabal
|
||||
if type -q -f cabal
|
||||
set cmd (commandline -poc)
|
||||
if test (count $cmd) -gt 1
|
||||
cabal $cmd[2..-1] --list-options
|
||||
else
|
||||
cabal --list-options
|
||||
end
|
||||
if type -q -f cabal
|
||||
set cmd (commandline -poc)
|
||||
if test (count $cmd) -gt 1
|
||||
cabal $cmd[2..-1] --list-options
|
||||
else
|
||||
cabal --list-options
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
complete -c cabal -a '(__fish_complete_cabal)'
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
# Caddy is a general-purpose HTTP/2 web server that serves HTTPS by default.
|
||||
# https://caddyserver.com
|
||||
|
||||
complete -c caddy -o agree -d "Agree to the CA's Subscriber Agreement"
|
||||
complete -c caddy -x -o ca -d "URL to certificate authority's ACME server directory"
|
||||
complete -c caddy -x -o catimeout -d "Default ACME CA HTTP timeout"
|
||||
complete -c caddy -r -o conf -a stdin -d "Caddyfile to load"
|
||||
complete -c caddy -x -o cpu -d "CPU cap"
|
||||
complete -c caddy -o disable-http-challenge -d "Disable the ACME HTTP challenge"
|
||||
complete -c caddy -o disable-tls-sni-challenge -d "Disable the ACME TLS-SNI challenge"
|
||||
complete -c caddy -x -o email -d "Default ACME CA account email address"
|
||||
complete -c caddy -x -o grace -d "Maximum duration of graceful shutdown"
|
||||
complete -c caddy -x -o host -d "Default host"
|
||||
complete -c caddy -x -o http-port -d "Default port to use for HTTP"
|
||||
complete -c caddy -o http2 -d "Use HTTP/2"
|
||||
complete -c caddy -x -o https-port -d "Default port to use for HTTPS"
|
||||
complete -c caddy -r -o log -d "Process log file"
|
||||
complete -c caddy -r -o pidfile -d "Path to write pid file"
|
||||
complete -c caddy -o plugins -d "List installed plugins"
|
||||
complete -c caddy -x -o port -d "Default port"
|
||||
complete -c caddy -o quic -d "Use experimental QUIC"
|
||||
complete -c caddy -o quiet -d "Quiet mode (no initialization output)"
|
||||
complete -c caddy -x -o revoke -d "Hostname for which to revoke the certificate"
|
||||
complete -c caddy -r -o root -d "Root path of default site"
|
||||
complete -c caddy -x -o type -d "Type of server to run"
|
||||
complete -c caddy -o validate -d "Parse the Caddyfile but do not start the server"
|
||||
complete -c caddy -o version -d "Show version"
|
||||
complete -c caddy -o agree -d "Agree to the CA's Subscriber Agreement"
|
||||
complete -c caddy -x -o ca -d "URL to certificate authority's ACME server directory"
|
||||
complete -c caddy -x -o catimeout -d "Default ACME CA HTTP timeout"
|
||||
complete -c caddy -r -o conf -a stdin -d "Caddyfile to load"
|
||||
complete -c caddy -x -o cpu -d "CPU cap"
|
||||
complete -c caddy -o disable-http-challenge -d "Disable the ACME HTTP challenge"
|
||||
complete -c caddy -o disable-tls-sni-challenge -d "Disable the ACME TLS-SNI challenge"
|
||||
complete -c caddy -x -o email -d "Default ACME CA account email address"
|
||||
complete -c caddy -x -o grace -d "Maximum duration of graceful shutdown"
|
||||
complete -c caddy -x -o host -d "Default host"
|
||||
complete -c caddy -x -o http-port -d "Default port to use for HTTP"
|
||||
complete -c caddy -o http2 -d "Use HTTP/2"
|
||||
complete -c caddy -x -o https-port -d "Default port to use for HTTPS"
|
||||
complete -c caddy -r -o log -d "Process log file"
|
||||
complete -c caddy -r -o pidfile -d "Path to write pid file"
|
||||
complete -c caddy -o plugins -d "List installed plugins"
|
||||
complete -c caddy -x -o port -d "Default port"
|
||||
complete -c caddy -o quic -d "Use experimental QUIC"
|
||||
complete -c caddy -o quiet -d "Quiet mode (no initialization output)"
|
||||
complete -c caddy -x -o revoke -d "Hostname for which to revoke the certificate"
|
||||
complete -c caddy -r -o root -d "Root path of default site"
|
||||
complete -c caddy -x -o type -d "Type of server to run"
|
||||
complete -c caddy -o validate -d "Parse the Caddyfile but do not start the server"
|
||||
complete -c caddy -o version -d "Show version"
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
|
||||
function __fish_canto_using_command
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -gt 1 ]
|
||||
if [ $argv[1] = $cmd[2] ]
|
||||
return 0
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -gt 1 ]
|
||||
if [ $argv[1] = $cmd[2] ]
|
||||
return 0
|
||||
end
|
||||
if [ count $argv -gt 2 ]
|
||||
if [ $argv[2] = $cmd[2] ]
|
||||
return 0
|
||||
end
|
||||
end
|
||||
end
|
||||
if [ count $argv -gt 2 ]
|
||||
if [ $argv[2] = $cmd[2] ]
|
||||
return 0
|
||||
end
|
||||
end
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -13,43 +13,43 @@ complete -c cargo -f -c cargo -n '__fish_use_subcommand' -a '$__fish_cargo_subco
|
|||
complete -c cargo -x -c cargo -n '__fish_seen_subcommand_from help' -a '$__fish_cargo_subcommands'
|
||||
|
||||
for x in bench build clean doc fetch generate-lockfile \
|
||||
locate-project package pkgid publish \
|
||||
read-manifest run rustc test update \
|
||||
verify-project;
|
||||
complete -c cargo -r -n "__fish_seen_subcommand_from $x" -l manifest-path -d 'path to the manifest to compile'
|
||||
locate-project package pkgid publish \
|
||||
read-manifest run rustc test update \
|
||||
verify-project
|
||||
complete -c cargo -r -n "__fish_seen_subcommand_from $x" -l manifest-path -d 'path to the manifest to compile'
|
||||
end
|
||||
|
||||
for x in bench build clean doc rustc test update;
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -s p -l spec -d 'Package to build'
|
||||
for x in bench build clean doc rustc test update
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -s p -l spec -d 'Package to build'
|
||||
end
|
||||
|
||||
for x in bench build clean doc run rustc test;
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l target -d 'Build for the target triple'
|
||||
for x in bench build clean doc run rustc test
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l target -d 'Build for the target triple'
|
||||
end
|
||||
|
||||
for x in bench build rustc test;
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l bench -d 'Only the specified benchmark'
|
||||
complete -c cargo -n "__fish_seen_subcommand_from $x" -l lib -d 'Only this package\'s library'
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l test -d 'Only the specified test'
|
||||
for x in bench build rustc test
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l bench -d 'Only the specified benchmark'
|
||||
complete -c cargo -n "__fish_seen_subcommand_from $x" -l lib -d 'Only this package\'s library'
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l test -d 'Only the specified test'
|
||||
end
|
||||
|
||||
for x in bench build run rustc test;
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l bin -d 'Only the specified binary'
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l example -d 'Only the specified example'
|
||||
for x in bench build run rustc test
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l bin -d 'Only the specified binary'
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l example -d 'Only the specified example'
|
||||
end
|
||||
|
||||
for x in build run rustc test;
|
||||
complete -c cargo -n "__fish_seen_subcommand_from $x" -l release -d 'Build artifacts in release mode, with optimizations'
|
||||
for x in build run rustc test
|
||||
complete -c cargo -n "__fish_seen_subcommand_from $x" -l release -d 'Build artifacts in release mode, with optimizations'
|
||||
end
|
||||
|
||||
for x in bench test;
|
||||
complete -c cargo -n "__fish_seen_subcommand_from $x" -l no-run -d 'Compile but do not run'
|
||||
for x in bench test
|
||||
complete -c cargo -n "__fish_seen_subcommand_from $x" -l no-run -d 'Compile but do not run'
|
||||
end
|
||||
|
||||
for x in bench build doc run rustc test;
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -s j -l jobs -d 'Number of jobs to run in parallel'
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l features -d 'Space-separated list of features to also build'
|
||||
complete -c cargo -n "__fish_seen_subcommand_from $x" -l no-default-features -d 'Do not build the `default` feature'
|
||||
for x in bench build doc run rustc test
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -s j -l jobs -d 'Number of jobs to run in parallel'
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l features -d 'Space-separated list of features to also build'
|
||||
complete -c cargo -n "__fish_seen_subcommand_from $x" -l no-default-features -d 'Do not build the `default` feature'
|
||||
end
|
||||
|
||||
complete -c cargo -n '__fish_seen_subcommand_from doc' -l no-deps -d 'Don\'t build documentation for dependencies'
|
||||
|
@ -63,21 +63,21 @@ complete -c cargo -n '__fish_seen_subcommand_from new' -l bin
|
|||
complete -c cargo -x -n '__fish_seen_subcommand_from git-checkout' -l url
|
||||
complete -c cargo -x -n '__fish_seen_subcommand_from git-checkout' -l reference
|
||||
|
||||
for x in login publish search;
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l host -d 'The host to submit the request to'
|
||||
for x in login publish search
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l host -d 'The host to submit the request to'
|
||||
end
|
||||
|
||||
complete -c cargo -n '__fish_seen_subcommand_from doc' -l open -d 'Opens the docs in a browser after the operation'
|
||||
|
||||
complete -c cargo -r -n '__fish_seen_subcommand_from owner' -s a -l add -d 'Login of a user to add as an owner'
|
||||
complete -c cargo -r -n '__fish_seen_subcommand_from owner' -s r -l remove -d 'Login of a user to remove as an owner'
|
||||
complete -c cargo -r -n '__fish_seen_subcommand_from owner' -s r -l remove -d 'Login of a user to remove as an owner'
|
||||
|
||||
for x in owner yank;
|
||||
complete -c cargo -r -n "__fish_seen_subcommand_from $x" -l index -d 'Registry index to use'
|
||||
for x in owner yank
|
||||
complete -c cargo -r -n "__fish_seen_subcommand_from $x" -l index -d 'Registry index to use'
|
||||
end
|
||||
|
||||
for x in owner publish yank;
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l token -d 'API token to use when authenticating'
|
||||
for x in owner publish yank
|
||||
complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l token -d 'API token to use when authenticating'
|
||||
end
|
||||
|
||||
complete -c cargo -n '__fish_seen_subcommand_from package' -l no-verify -d 'Don\'t verify the contents by building them'
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
if cat --version 2>/dev/null > /dev/null # GNU
|
||||
complete -c cat -s A -l show-all -d "Escape all unprintables"
|
||||
complete -c cat -s b -l number-nonblank -d "Number non-blank lines"
|
||||
complete -c cat -s e -d "Escape unprintables except \\t"
|
||||
complete -c cat -s E -l show-ends -d "Display \$ at line end"
|
||||
complete -c cat -s n -l number -d "Enumerate lines"
|
||||
complete -c cat -s s -l squeeze-blank -d "Never >1 blank line"
|
||||
complete -c cat -s t -d "Escape unprintables except \\n"
|
||||
complete -c cat -s T -l show-tabs -d "Escape tab"
|
||||
complete -c cat -s v -d "Escape unprintables except '\\n' and \\t"
|
||||
complete -c cat -l help -d "Display help and exit"
|
||||
complete -c cat -l version -d "Display version and exit"
|
||||
if cat --version 2>/dev/null >/dev/null # GNU
|
||||
complete -c cat -s A -l show-all -d "Escape all unprintables"
|
||||
complete -c cat -s b -l number-nonblank -d "Number non-blank lines"
|
||||
complete -c cat -s e -d "Escape unprintables except \\t"
|
||||
complete -c cat -s E -l show-ends -d "Display \$ at line end"
|
||||
complete -c cat -s n -l number -d "Enumerate lines"
|
||||
complete -c cat -s s -l squeeze-blank -d "Never >1 blank line"
|
||||
complete -c cat -s t -d "Escape unprintables except \\n"
|
||||
complete -c cat -s T -l show-tabs -d "Escape tab"
|
||||
complete -c cat -s v -d "Escape unprintables except '\\n' and \\t"
|
||||
complete -c cat -l help -d "Display help and exit"
|
||||
complete -c cat -l version -d "Display version and exit"
|
||||
else # OS X
|
||||
complete -c cat -s b -d "Specify # of non-blank lines"
|
||||
complete -c cat -s e -d "Show unprintables, end lines with \$"
|
||||
complete -c cat -s n -d "Enumerate lines"
|
||||
complete -c cat -s s -d "Squeeze away >1 blank lines"
|
||||
complete -c cat -s t -d "Show unprintables; tab as '^I'"
|
||||
complete -c cat -s u -d "Disable output buffering"
|
||||
complete -c cat -s v -d "Escape non-printing chars"
|
||||
complete -c cat -s b -d "Specify # of non-blank lines"
|
||||
complete -c cat -s e -d "Show unprintables, end lines with \$"
|
||||
complete -c cat -s n -d "Enumerate lines"
|
||||
complete -c cat -s s -d "Squeeze away >1 blank lines"
|
||||
complete -c cat -s t -d "Show unprintables; tab as '^I'"
|
||||
complete -c cat -s u -d "Disable output buffering"
|
||||
complete -c cat -s v -d "Escape non-printing chars"
|
||||
end
|
|
@ -1,208 +1,208 @@
|
|||
set -l subcommands help version login logout passwd target api auth apps app \
|
||||
push scale delete rename start stop restart restage restart-app-instance \
|
||||
run-task tasks terminate-task events files logs env set-env unset-env stacks \
|
||||
stack copy-source create-app-manifest get-health-check set-health-check \
|
||||
enable-ssh disable-ssh ssh-enabled ssh marketplace services service \
|
||||
create-service update-service delete-service rename-service \
|
||||
create-service-key service-keys service-key delete-service-key bind-service \
|
||||
unbind-service bind-route-service unbind-route-service \
|
||||
create-user-provided-service update-user-provided-service orgs org \
|
||||
create-org delete-org rename-org spaces space create-space delete-space \
|
||||
rename-space allow-space-ssh disallow-space-ssh space-ssh-allowed domains \
|
||||
create-domain delete-domain create-shared-domain delete-shared-domain \
|
||||
router-groups routes create-route check-route map-route unmap-route \
|
||||
delete-route delete-orphaned-routes network-policies add-network-policy \
|
||||
remove-network-policy buildpacks create-buildpack update-buildpack \
|
||||
rename-buildpack delete-buildpack create-user delete-user org-users \
|
||||
set-org-role unset-org-role space-users set-space-role unset-space-role \
|
||||
quotas quota set-quota create-quota delete-quota update-quota \
|
||||
share-private-domain unshare-private-domain space-quotas space-quota \
|
||||
create-space-quota update-space-quota delete-space-quota set-space-quota \
|
||||
unset-space-quota service-auth-tokens create-service-auth-token \
|
||||
update-service-auth-token delete-service-auth-token service-brokers \
|
||||
create-service-broker update-service-broker delete-service-broker \
|
||||
rename-service-broker migrate-service-instances purge-service-offering \
|
||||
purge-service-instance service-access enable-service-access \
|
||||
disable-service-access security-group security-groups create-security-group \
|
||||
update-security-group delete-security-group bind-security-group \
|
||||
unbind-security-group bind-staging-security-group staging-security-groups \
|
||||
unbind-staging-security-group bind-running-security-group \
|
||||
running-security-groups unbind-running-security-group \
|
||||
running-environment-variable-group staging-environment-variable-group \
|
||||
set-staging-environment-variable-group set-running-environment-variable-group \
|
||||
isolation-segments create-isolation-segment delete-isolation-segment \
|
||||
enable-org-isolation disable-org-isolation set-org-default-isolation-segment \
|
||||
reset-org-default-isolation-segment set-space-isolation-segment \
|
||||
reset-space-isolation-segment feature-flags feature-flag enable-feature-flag \
|
||||
disable-feature-flag curl config oauth-token ssh-code add-plugin-repo \
|
||||
remove-plugin-repo list-plugin-repos repo-plugins plugins install-plugin \
|
||||
uninstall-plugin
|
||||
push scale delete rename start stop restart restage restart-app-instance \
|
||||
run-task tasks terminate-task events files logs env set-env unset-env stacks \
|
||||
stack copy-source create-app-manifest get-health-check set-health-check \
|
||||
enable-ssh disable-ssh ssh-enabled ssh marketplace services service \
|
||||
create-service update-service delete-service rename-service \
|
||||
create-service-key service-keys service-key delete-service-key bind-service \
|
||||
unbind-service bind-route-service unbind-route-service \
|
||||
create-user-provided-service update-user-provided-service orgs org \
|
||||
create-org delete-org rename-org spaces space create-space delete-space \
|
||||
rename-space allow-space-ssh disallow-space-ssh space-ssh-allowed domains \
|
||||
create-domain delete-domain create-shared-domain delete-shared-domain \
|
||||
router-groups routes create-route check-route map-route unmap-route \
|
||||
delete-route delete-orphaned-routes network-policies add-network-policy \
|
||||
remove-network-policy buildpacks create-buildpack update-buildpack \
|
||||
rename-buildpack delete-buildpack create-user delete-user org-users \
|
||||
set-org-role unset-org-role space-users set-space-role unset-space-role \
|
||||
quotas quota set-quota create-quota delete-quota update-quota \
|
||||
share-private-domain unshare-private-domain space-quotas space-quota \
|
||||
create-space-quota update-space-quota delete-space-quota set-space-quota \
|
||||
unset-space-quota service-auth-tokens create-service-auth-token \
|
||||
update-service-auth-token delete-service-auth-token service-brokers \
|
||||
create-service-broker update-service-broker delete-service-broker \
|
||||
rename-service-broker migrate-service-instances purge-service-offering \
|
||||
purge-service-instance service-access enable-service-access \
|
||||
disable-service-access security-group security-groups create-security-group \
|
||||
update-security-group delete-security-group bind-security-group \
|
||||
unbind-security-group bind-staging-security-group staging-security-groups \
|
||||
unbind-staging-security-group bind-running-security-group \
|
||||
running-security-groups unbind-running-security-group \
|
||||
running-environment-variable-group staging-environment-variable-group \
|
||||
set-staging-environment-variable-group set-running-environment-variable-group \
|
||||
isolation-segments create-isolation-segment delete-isolation-segment \
|
||||
enable-org-isolation disable-org-isolation set-org-default-isolation-segment \
|
||||
reset-org-default-isolation-segment set-space-isolation-segment \
|
||||
reset-space-isolation-segment feature-flags feature-flag enable-feature-flag \
|
||||
disable-feature-flag curl config oauth-token ssh-code add-plugin-repo \
|
||||
remove-plugin-repo list-plugin-repos repo-plugins plugins install-plugin \
|
||||
uninstall-plugin
|
||||
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'help' --description "Show help"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'version' --description "Print the version"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'login' --description "Log user in"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'logout' --description "Log user out"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'passwd' --description "Change user password"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'target' --description "Set or view the targeted org or space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'api' --description "Set or view target api url"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'auth' --description "Authenticate user non-interactively"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'apps' --description "List all apps in the target space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'app' --description "Display health and status for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'push' --description "Push a new app or sync changes to an existing app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'scale' --description "Change or view the instance count, disk space limit, and memory limit for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete' --description "Delete an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename' --description "Rename an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'start' --description "Start an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'stop' --description "Stop an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'restart' --description "Stop all instances of the app, then start them again. This causes downtime."
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'restage' --description "Recreate the app's executable artifact using the latest pushed app files and the latest environment (variables, service bindings, buildpack, stack, etc.)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'restart-app-instance' --description "Terminate, then restart an app instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'run-task' --description "Run a one-off task on an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'tasks' --description "List tasks of an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'terminate-task' --description "Terminate a running task of an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'events' --description "Show recent app events"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'files' --description "Print out a list of files in a directory or the contents of a specific file of an app running on the DEA backend"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'logs' --description "Tail or show recent logs for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'env' --description "Show all env variables for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-env' --description "Set an env variable for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unset-env' --description "Remove an env variable"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'stacks' --description "List all stacks (a stack is a pre-built file system, including an operating system, that can run apps)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'stack' --description "Show information for a stack (a stack is a pre-built file system, including an operating system, that can run apps)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'copy-source' --description "Copies the source code of an application to another existing application (and restarts that application)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-app-manifest' --description "Create an app manifest for an app that has been pushed successfully"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'get-health-check' --description "Show the type of health check performed on an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-health-check' --description "Change type of health check performed on an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'enable-ssh' --description "Enable ssh for the application"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disable-ssh' --description "Disable ssh for the application"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'ssh-enabled' --description "Reports whether SSH is enabled on an application container instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'ssh' --description "SSH to an application container instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'marketplace' --description "List available offerings in the marketplace"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'services' --description "List all service instances in the target space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service' --description "Show service instance info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-service' --description "Create a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-service' --description "Update a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-service' --description "Delete a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-service' --description "Rename a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-service-key' --description "Create key for a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-keys' --description "List keys for a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-key' --description "Show service key info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-service-key' --description "Delete a service key"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-service' --description "Bind a service instance to an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-service' --description "Unbind a service instance from an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-route-service' --description "Bind a service instance to an HTTP route"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-route-service' --description "Unbind a service instance from an HTTP route"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-user-provided-service' --description "Make a user-provided service instance available to CF apps"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-user-provided-service' --description "Update user-provided service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'orgs' --description "List all orgs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'org' --description "Show org info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-org' --description "Create an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-org' --description "Delete an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-org' --description "Rename an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'spaces' --description "List all spaces in an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space' --description "Show space info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-space' --description "Create a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-space' --description "Delete a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-space' --description "Rename a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'allow-space-ssh' --description "Allow SSH access for the space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disallow-space-ssh' --description "Disallow SSH access for the space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space-ssh-allowed' --description "Reports whether SSH is allowed in a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'domains' --description "List domains in the target org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-domain' --description "Create a domain in an org for later use"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-domain' --description "Delete a domain"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-shared-domain' --description "Create a domain that can be used by all orgs (admin-only)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-shared-domain' --description "Delete a shared domain"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'router-groups' --description "List router groups"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'routes' --description "List all routes in the current space or the current organization"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-route' --description "Create a url route in a space for later use"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'check-route' --description "Perform a simple check to determine whether a route currently exists or not"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'map-route' --description "Add a url route to an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unmap-route' --description "Remove a url route from an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-route' --description "Delete a route"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-orphaned-routes' --description "Delete all orphaned routes (i.e. those that are not mapped to an app)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'network-policies' --description "List direct network traffic policies"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'add-network-policy' --description "Create policy to allow direct network traffic from one app to another"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'remove-network-policy' --description "Remove network traffic policy of an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'buildpacks' --description "List all buildpacks"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-buildpack' --description "Create a buildpack"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-buildpack' --description "Update a buildpack"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-buildpack' --description "Rename a buildpack"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-buildpack' --description "Delete a buildpack"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-user' --description "Create a new user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-user' --description "Delete a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'org-users' --description "Show org users by role"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-org-role' --description "Assign an org role to a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unset-org-role' --description "Remove an org role from a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space-users' --description "Show space users by role"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-space-role' --description "Assign a space role to a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unset-space-role' --description "Remove a space role from a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'quotas' --description "List available usage quotas"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'quota' --description "Show quota info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-quota' --description "Assign a quota to an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-quota' --description "Define a new resource quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-quota' --description "Delete a quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-quota' --description "Update an existing resource quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'share-private-domain' --description "Share a private domain with an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unshare-private-domain' --description "Unshare a private domain with an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space-quotas' --description "List available space resource quotas"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space-quota' --description "Show space quota info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-space-quota' --description "Define a new space resource quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-space-quota' --description "Update an existing space quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-space-quota' --description "Delete a space quota definition and unassign the space quota from all spaces"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-space-quota' --description "Assign a space quota definition to a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unset-space-quota' --description "Unassign a quota from a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-auth-tokens' --description "List service auth tokens"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-service-auth-token' --description "Create a service auth token"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-service-auth-token' --description "Update a service auth token"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-service-auth-token' --description "Delete a service auth token"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-brokers' --description "List service brokers"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-service-broker' --description "Create a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-service-broker' --description "Update a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-service-broker' --description "Delete a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-service-broker' --description "Rename a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'migrate-service-instances' --description "Migrate service instances from one service plan to another"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'purge-service-offering' --description "Recursively remove a service and child objects from Cloud Foundry database without making requests to a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'purge-service-instance' --description "Recursively remove a service instance and child objects from Cloud Foundry database without making requests to a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-access' --description "List service access settings"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'enable-service-access' --description "Enable access to a service or service plan for one or all orgs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disable-service-access' --description "Disable access to a service or service plan for one or all orgs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'security-group' --description "Show a single security group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'security-groups' --description "List all security groups"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-security-group' --description "Create a security group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-security-group' --description "Update a security group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-security-group' --description "Deletes a security group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-security-group' --description "Bind a security group to a particular space, or all existing spaces of an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-security-group' --description "Unbind a security group from a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-staging-security-group' --description "Bind a security group to the list of security groups to be used for staging applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'staging-security-groups' --description "List security groups in the staging set for applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-staging-security-group' --description "Unbind a security group from the set of security groups for staging applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-running-security-group' --description "Bind a security group to the list of security groups to be used for running applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'running-security-groups' --description "List security groups in the set of security groups for running applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-running-security-group' --description "Unbind a security group from the set of security groups for running applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'running-environment-variable-group' --description "Retrieve the contents of the running environment variable group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'staging-environment-variable-group' --description "Retrieve the contents of the staging environment variable group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'help' --description "Show help"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'version' --description "Print the version"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'login' --description "Log user in"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'logout' --description "Log user out"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'passwd' --description "Change user password"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'target' --description "Set or view the targeted org or space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'api' --description "Set or view target api url"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'auth' --description "Authenticate user non-interactively"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'apps' --description "List all apps in the target space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'app' --description "Display health and status for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'push' --description "Push a new app or sync changes to an existing app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'scale' --description "Change or view the instance count, disk space limit, and memory limit for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete' --description "Delete an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename' --description "Rename an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'start' --description "Start an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'stop' --description "Stop an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'restart' --description "Stop all instances of the app, then start them again. This causes downtime."
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'restage' --description "Recreate the app's executable artifact using the latest pushed app files and the latest environment (variables, service bindings, buildpack, stack, etc.)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'restart-app-instance' --description "Terminate, then restart an app instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'run-task' --description "Run a one-off task on an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'tasks' --description "List tasks of an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'terminate-task' --description "Terminate a running task of an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'events' --description "Show recent app events"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'files' --description "Print out a list of files in a directory or the contents of a specific file of an app running on the DEA backend"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'logs' --description "Tail or show recent logs for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'env' --description "Show all env variables for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-env' --description "Set an env variable for an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unset-env' --description "Remove an env variable"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'stacks' --description "List all stacks (a stack is a pre-built file system, including an operating system, that can run apps)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'stack' --description "Show information for a stack (a stack is a pre-built file system, including an operating system, that can run apps)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'copy-source' --description "Copies the source code of an application to another existing application (and restarts that application)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-app-manifest' --description "Create an app manifest for an app that has been pushed successfully"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'get-health-check' --description "Show the type of health check performed on an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-health-check' --description "Change type of health check performed on an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'enable-ssh' --description "Enable ssh for the application"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disable-ssh' --description "Disable ssh for the application"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'ssh-enabled' --description "Reports whether SSH is enabled on an application container instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'ssh' --description "SSH to an application container instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'marketplace' --description "List available offerings in the marketplace"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'services' --description "List all service instances in the target space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service' --description "Show service instance info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-service' --description "Create a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-service' --description "Update a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-service' --description "Delete a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-service' --description "Rename a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-service-key' --description "Create key for a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-keys' --description "List keys for a service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-key' --description "Show service key info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-service-key' --description "Delete a service key"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-service' --description "Bind a service instance to an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-service' --description "Unbind a service instance from an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-route-service' --description "Bind a service instance to an HTTP route"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-route-service' --description "Unbind a service instance from an HTTP route"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-user-provided-service' --description "Make a user-provided service instance available to CF apps"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-user-provided-service' --description "Update user-provided service instance"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'orgs' --description "List all orgs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'org' --description "Show org info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-org' --description "Create an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-org' --description "Delete an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-org' --description "Rename an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'spaces' --description "List all spaces in an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space' --description "Show space info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-space' --description "Create a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-space' --description "Delete a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-space' --description "Rename a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'allow-space-ssh' --description "Allow SSH access for the space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disallow-space-ssh' --description "Disallow SSH access for the space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space-ssh-allowed' --description "Reports whether SSH is allowed in a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'domains' --description "List domains in the target org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-domain' --description "Create a domain in an org for later use"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-domain' --description "Delete a domain"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-shared-domain' --description "Create a domain that can be used by all orgs (admin-only)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-shared-domain' --description "Delete a shared domain"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'router-groups' --description "List router groups"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'routes' --description "List all routes in the current space or the current organization"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-route' --description "Create a url route in a space for later use"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'check-route' --description "Perform a simple check to determine whether a route currently exists or not"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'map-route' --description "Add a url route to an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unmap-route' --description "Remove a url route from an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-route' --description "Delete a route"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-orphaned-routes' --description "Delete all orphaned routes (i.e. those that are not mapped to an app)"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'network-policies' --description "List direct network traffic policies"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'add-network-policy' --description "Create policy to allow direct network traffic from one app to another"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'remove-network-policy' --description "Remove network traffic policy of an app"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'buildpacks' --description "List all buildpacks"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-buildpack' --description "Create a buildpack"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-buildpack' --description "Update a buildpack"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-buildpack' --description "Rename a buildpack"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-buildpack' --description "Delete a buildpack"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-user' --description "Create a new user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-user' --description "Delete a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'org-users' --description "Show org users by role"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-org-role' --description "Assign an org role to a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unset-org-role' --description "Remove an org role from a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space-users' --description "Show space users by role"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-space-role' --description "Assign a space role to a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unset-space-role' --description "Remove a space role from a user"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'quotas' --description "List available usage quotas"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'quota' --description "Show quota info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-quota' --description "Assign a quota to an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-quota' --description "Define a new resource quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-quota' --description "Delete a quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-quota' --description "Update an existing resource quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'share-private-domain' --description "Share a private domain with an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unshare-private-domain' --description "Unshare a private domain with an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space-quotas' --description "List available space resource quotas"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'space-quota' --description "Show space quota info"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-space-quota' --description "Define a new space resource quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-space-quota' --description "Update an existing space quota"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-space-quota' --description "Delete a space quota definition and unassign the space quota from all spaces"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-space-quota' --description "Assign a space quota definition to a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unset-space-quota' --description "Unassign a quota from a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-auth-tokens' --description "List service auth tokens"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-service-auth-token' --description "Create a service auth token"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-service-auth-token' --description "Update a service auth token"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-service-auth-token' --description "Delete a service auth token"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-brokers' --description "List service brokers"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-service-broker' --description "Create a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-service-broker' --description "Update a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-service-broker' --description "Delete a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'rename-service-broker' --description "Rename a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'migrate-service-instances' --description "Migrate service instances from one service plan to another"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'purge-service-offering' --description "Recursively remove a service and child objects from Cloud Foundry database without making requests to a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'purge-service-instance' --description "Recursively remove a service instance and child objects from Cloud Foundry database without making requests to a service broker"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'service-access' --description "List service access settings"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'enable-service-access' --description "Enable access to a service or service plan for one or all orgs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disable-service-access' --description "Disable access to a service or service plan for one or all orgs"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'security-group' --description "Show a single security group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'security-groups' --description "List all security groups"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-security-group' --description "Create a security group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'update-security-group' --description "Update a security group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-security-group' --description "Deletes a security group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-security-group' --description "Bind a security group to a particular space, or all existing spaces of an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-security-group' --description "Unbind a security group from a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-staging-security-group' --description "Bind a security group to the list of security groups to be used for staging applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'staging-security-groups' --description "List security groups in the staging set for applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-staging-security-group' --description "Unbind a security group from the set of security groups for staging applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'bind-running-security-group' --description "Bind a security group to the list of security groups to be used for running applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'running-security-groups' --description "List security groups in the set of security groups for running applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'unbind-running-security-group' --description "Unbind a security group from the set of security groups for running applications"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'running-environment-variable-group' --description "Retrieve the contents of the running environment variable group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'staging-environment-variable-group' --description "Retrieve the contents of the staging environment variable group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-staging-environment-variable-group' --description "Pass parameters as JSON to create a staging environment variable group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-running-environment-variable-group' --description "Pass parameters as JSON to create a running environment variable group"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'isolation-segments' --description "List all isolation segments"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-isolation-segment' --description "Create an isolation segment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-isolation-segment' --description "Delete an isolation segment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'enable-org-isolation' --description "Entitle an organization to an isolation segment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disable-org-isolation' --description "Revoke an organization's entitlement to an isolation segment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-org-default-isolation-segment' --description "Set the default isolation segment used for apps in spaces in an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'reset-org-default-isolation-segment' --description "Reset the default isolation segment used for apps in spaces of an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-space-isolation-segment' --description "Assign the isolation segment for a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'reset-space-isolation-segment' --description "Reset the space's isolation segment to the org default"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'feature-flags' --description "Retrieve list of feature flags with status"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'feature-flag' --description "Retrieve an individual feature flag with status"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'enable-feature-flag' --description "Allow use of a feature"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disable-feature-flag' --description "Prevent use of a feature"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'curl' --description "Executes a request to the targeted API endpoint"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'config' --description "Write default values to the config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'oauth-token' --description "Retrieve and display the OAuth token for the current session"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'ssh-code' --description "Get a one time password for ssh clients"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'add-plugin-repo' --description "Add a new plugin repository"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'remove-plugin-repo' --description "Remove a plugin repository"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'list-plugin-repos' --description "List all the added plugin repositories"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'repo-plugins' --description "List all available plugins in specified repository or in all added repositories"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'plugins' --description "List commands of installed plugins"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'install-plugin' --description "Install CLI plugin"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'uninstall-plugin' --description "Uninstall CLI plugin"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'isolation-segments' --description "List all isolation segments"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'create-isolation-segment' --description "Create an isolation segment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'delete-isolation-segment' --description "Delete an isolation segment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'enable-org-isolation' --description "Entitle an organization to an isolation segment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disable-org-isolation' --description "Revoke an organization's entitlement to an isolation segment"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-org-default-isolation-segment' --description "Set the default isolation segment used for apps in spaces in an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'reset-org-default-isolation-segment' --description "Reset the default isolation segment used for apps in spaces of an org"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'set-space-isolation-segment' --description "Assign the isolation segment for a space"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'reset-space-isolation-segment' --description "Reset the space's isolation segment to the org default"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'feature-flags' --description "Retrieve list of feature flags with status"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'feature-flag' --description "Retrieve an individual feature flag with status"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'enable-feature-flag' --description "Allow use of a feature"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'disable-feature-flag' --description "Prevent use of a feature"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'curl' --description "Executes a request to the targeted API endpoint"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'config' --description "Write default values to the config"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'oauth-token' --description "Retrieve and display the OAuth token for the current session"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'ssh-code' --description "Get a one time password for ssh clients"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'add-plugin-repo' --description "Add a new plugin repository"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'remove-plugin-repo' --description "Remove a plugin repository"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'list-plugin-repos' --description "List all the added plugin repositories"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'repo-plugins' --description "List all available plugins in specified repository or in all added repositories"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'plugins' --description "List commands of installed plugins"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'install-plugin' --description "Install CLI plugin"
|
||||
complete -f -n "__fish_use_subcommand $subcommands" -c cf -a 'uninstall-plugin' --description "Uninstall CLI plugin"
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
complete -p '*clang++*' -n '__fish_should_complete_switches' -xa '(__fish_clang_complete)'
|
||||
complete -p '*clang++*' -n 'not __fish_should_complete_switches' \
|
||||
-xa '(__fish_complete_suffix \'{.o,.out,.c,.cpp,.so,.dylib}\')'
|
||||
-xa '(__fish_complete_suffix \'{.o,.out,.c,.cpp,.so,.dylib}\')'
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# This pattern unfortunately matches clang-format, etc. as well.
|
||||
complete -p '*clang*' -n '__fish_should_complete_switches' -xa '(__fish_clang_complete)'
|
||||
complete -c 'clang' -n 'not __fish_should_complete_switches' \
|
||||
-xa "(__fish_complete_suffix '{.o,.out,.c,.cpp,.so,.dylib}')"
|
||||
-xa "(__fish_complete_suffix '{.o,.out,.c,.cpp,.so,.dylib}')"
|
||||
# again but without the -x this time for the pattern-matched completion
|
||||
complete -p '*clang*' -n 'not __fish_should_complete_switches' \
|
||||
-a "(__fish_complete_suffix '{.o,.out,.c,.cpp,.so,.dylib}')"
|
||||
-a "(__fish_complete_suffix '{.o,.out,.c,.cpp,.so,.dylib}')"
|
||||
|
|
|
@ -4,8 +4,8 @@ complete -c commandline -s a -l append -d "Add text to the end of the selected a
|
|||
complete -c commandline -s i -l insert -d "Add text at cursor"
|
||||
complete -c commandline -s r -l replace -d "Replace selected part"
|
||||
|
||||
complete -c commandline -s j -l current-job -d "Select job under cursor"
|
||||
complete -c commandline -s p -l current-process -d "Select process under cursor"
|
||||
complete -c commandline -s j -l current-job -d "Select job under cursor"
|
||||
complete -c commandline -s p -l current-process -d "Select process under cursor"
|
||||
complete -c commandline -s t -l current-token -d "Select token under cursor"
|
||||
complete -c commandline -s b -l current-buffer -d "Select entire command line (default)"
|
||||
|
||||
|
|
|
@ -1,45 +1,45 @@
|
|||
complete -c compare -o alpha -d 'On, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape [option]' -xa '(compare -list alpha)'
|
||||
complete -c compare -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c compare -o channel -d 'Apply option to select image channels [type]' -xa '(compare -list channel)'
|
||||
complete -c compare -o colorspace -d 'Alternate image colorspace [type]' -xa '(compare -list colorspace)'
|
||||
complete -c compare -o compose -d 'Set image composite operator [operator]'
|
||||
complete -c compare -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(compare -list compress)'
|
||||
complete -c compare -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c compare -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c compare -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c compare -o depth -d 'Image depth [value]'
|
||||
complete -c compare -o dissimilarity-threshold -d 'Maximum distortion for (sub)image match [value]'
|
||||
complete -c compare -o encipher -d 'Convert plain pixels to cipher pixels [filename]' -r
|
||||
complete -c compare -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c compare -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c compare -o fuzz -d 'Colors within this distance are considered equal [distance]'
|
||||
complete -c compare -o highlight-color -d 'Emphasize pixel differences with this color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c compare -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c compare -o interlace -d 'Type of image interlacing scheme [type]' -xa '(compare -list interlace)'
|
||||
complete -c compare -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c compare -o lowlight-color -d 'De-emphasize pixel differences with this color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c compare -o metric -d 'Measure differences between images with this metric [type]' -xa '(compare -list metric)'
|
||||
complete -c compare -o monitor -d 'Monitor progress '
|
||||
complete -c compare -o passphrase -d 'Get the passphrase from this file [filename]' -r
|
||||
complete -c compare -o profile -d 'Add, delete, or apply an image profile [filename]' -r
|
||||
complete -c compare -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c compare -o quiet -d 'Suppress all warning messages'
|
||||
complete -c compare -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(compare -list colorspace)'
|
||||
complete -c compare -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c compare -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c compare -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c compare -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c compare -o set -d 'Attribute set an image attribute [ value]'
|
||||
complete -c compare -o size -d 'Width and height of image [geometry]'
|
||||
complete -c compare -o subimage-search -d 'Search for subimage'
|
||||
complete -c compare -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c compare -o type -d 'Image type [type]' -xa '(compare -list type)'
|
||||
complete -c compare -o verbose -d 'Print detailed information about the image'
|
||||
complete -c compare -o version -d 'Print version information'
|
||||
complete -c compare -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(compare -list virtual-pixel)'
|
||||
complete -c compare -o debug -d 'Display copious debugging information [events]' -xa '(compare -list debug)'
|
||||
complete -c compare -o help -d 'Print program options'
|
||||
complete -c compare -o list -d 'Print a list of supported option arguments [type]' -xa '(compare -list list)'
|
||||
complete -c compare -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c compare -o synchronize -d 'Synchronize image to storage device'
|
||||
complete -c compare -o taint -d 'Declare the image as modified'
|
||||
complete -c compare -o alpha -d 'On, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape [option]' -xa '(compare -list alpha)'
|
||||
complete -c compare -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c compare -o channel -d 'Apply option to select image channels [type]' -xa '(compare -list channel)'
|
||||
complete -c compare -o colorspace -d 'Alternate image colorspace [type]' -xa '(compare -list colorspace)'
|
||||
complete -c compare -o compose -d 'Set image composite operator [operator]'
|
||||
complete -c compare -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(compare -list compress)'
|
||||
complete -c compare -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c compare -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c compare -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c compare -o depth -d 'Image depth [value]'
|
||||
complete -c compare -o dissimilarity-threshold -d 'Maximum distortion for (sub)image match [value]'
|
||||
complete -c compare -o encipher -d 'Convert plain pixels to cipher pixels [filename]' -r
|
||||
complete -c compare -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c compare -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c compare -o fuzz -d 'Colors within this distance are considered equal [distance]'
|
||||
complete -c compare -o highlight-color -d 'Emphasize pixel differences with this color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c compare -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c compare -o interlace -d 'Type of image interlacing scheme [type]' -xa '(compare -list interlace)'
|
||||
complete -c compare -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c compare -o lowlight-color -d 'De-emphasize pixel differences with this color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c compare -o metric -d 'Measure differences between images with this metric [type]' -xa '(compare -list metric)'
|
||||
complete -c compare -o monitor -d 'Monitor progress '
|
||||
complete -c compare -o passphrase -d 'Get the passphrase from this file [filename]' -r
|
||||
complete -c compare -o profile -d 'Add, delete, or apply an image profile [filename]' -r
|
||||
complete -c compare -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c compare -o quiet -d 'Suppress all warning messages'
|
||||
complete -c compare -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(compare -list colorspace)'
|
||||
complete -c compare -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c compare -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c compare -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c compare -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c compare -o set -d 'Attribute set an image attribute [ value]'
|
||||
complete -c compare -o size -d 'Width and height of image [geometry]'
|
||||
complete -c compare -o subimage-search -d 'Search for subimage'
|
||||
complete -c compare -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c compare -o type -d 'Image type [type]' -xa '(compare -list type)'
|
||||
complete -c compare -o verbose -d 'Print detailed information about the image'
|
||||
complete -c compare -o version -d 'Print version information'
|
||||
complete -c compare -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(compare -list virtual-pixel)'
|
||||
complete -c compare -o debug -d 'Display copious debugging information [events]' -xa '(compare -list debug)'
|
||||
complete -c compare -o help -d 'Print program options'
|
||||
complete -c compare -o list -d 'Print a list of supported option arguments [type]' -xa '(compare -list list)'
|
||||
complete -c compare -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c compare -o synchronize -d 'Synchronize image to storage device'
|
||||
complete -c compare -o taint -d 'Declare the image as modified'
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
function __fish_composer_needs_command
|
||||
set cmd (commandline -opc)
|
||||
set cmd (commandline -opc)
|
||||
|
||||
if [ (count $cmd) -eq 1 ]
|
||||
return 0
|
||||
end
|
||||
if [ (count $cmd) -eq 1 ]
|
||||
return 0
|
||||
end
|
||||
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_composer_using_command
|
||||
set cmd (commandline -opc)
|
||||
set cmd (commandline -opc)
|
||||
|
||||
if [ (count $cmd) -gt 1 ]
|
||||
if [ $argv[1] = $cmd[2] ]
|
||||
return 0
|
||||
if [ (count $cmd) -gt 1 ]
|
||||
if [ $argv[1] = $cmd[2] ]
|
||||
return 0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_composer_required_packages
|
||||
|
|
|
@ -1,85 +1,85 @@
|
|||
complete -c composite -o affine -d 'Affine transform matrix [matrix]'
|
||||
complete -c composite -o alpha -d 'On, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape [option]' -xa '(convert -list alpha)'
|
||||
complete -c composite -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c composite -o blue-primary -d 'Chromaticity blue primary point [point]'
|
||||
complete -c composite -o channel -d 'Apply option to select image channels [type]' -xa '(convert -list channel)'
|
||||
complete -c composite -o colorspace -d 'Alternate image colorspace [type]' -xa '(convert -list colorspace)'
|
||||
complete -c composite -o comment -d 'Annotate image with comment [string]'
|
||||
complete -c composite -o compose -d 'Composite operator [operator]'
|
||||
complete -c composite -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(convert -list compress)'
|
||||
complete -c composite -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c composite -o depth -d 'Image depth [value]'
|
||||
complete -c composite -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c composite -o display -d 'Get image or font from this X server [server]'
|
||||
complete -c composite -o dispose -d 'Layer disposal method [method]' -xa '(convert -list dispose)'
|
||||
complete -c composite -o dither -d 'Apply error diffusion to image [method]' -xa '(convert -list dither)'
|
||||
complete -c composite -o encoding -d 'Encoding type [type text]' -xa '(__fish_print_encodings)'
|
||||
complete -c composite -o endian -d 'Endianness (MSB or LSB) of the image [type]' -xa '(convert -list endian)'
|
||||
complete -c composite -o filter -d 'Use this filter when resizing an image [type]' -xa '(convert -list filter)'
|
||||
complete -c composite -o font -d 'Render text with this font [name]' -xa '(__fish_complete_convert_options font)'
|
||||
complete -c composite -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c composite -o gravity -d 'Which direction to gravitate towards [type]' -xa '(convert -list gravity)'
|
||||
complete -c composite -o green-primary -d 'Chromaticity green primary point [point]'
|
||||
complete -c composite -o interlace -d 'Type of image interlacing scheme [type]' -xa '(convert -list interlace)'
|
||||
complete -c composite -o interpolate -d 'Pixel color interpolation method [method]' -xa '(convert -list interpolate)'
|
||||
complete -c composite -o label -d 'Assign a label to an image [string]'
|
||||
complete -c composite -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c composite -o monitor -d 'Monitor progress '
|
||||
complete -c composite -o page -d 'Size and location of an image canvas (setting) [geometry]'
|
||||
complete -c composite -o pointsize -d 'Font point size [value]'
|
||||
complete -c composite -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c composite -o quiet -d 'Suppress all warning messages'
|
||||
complete -c composite -o red-primary -d 'Chromaticity red primary point [point]'
|
||||
complete -c composite -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c composite -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c composite -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c composite -o scene -d 'Image scene number [value]'
|
||||
complete -c composite -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c composite -o size -d 'Width and height of image [geometry]'
|
||||
complete -c composite -o synchronize -d 'Synchronize image to storage device'
|
||||
complete -c composite -o taint -d 'Declare the image as modified'
|
||||
complete -c composite -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c composite -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c composite -o tile -d 'Repeat composite operation across and down image'
|
||||
complete -c composite -o units -d 'The units of image resolution [type]' -xa '(convert -list units)'
|
||||
complete -c composite -o verbose -d 'Print detailed information about the image'
|
||||
complete -c composite -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(convert -list virtual-pixel)'
|
||||
complete -c composite -o white-point -d 'Chromaticity white point [point]'
|
||||
complete -c composite -o blend -d 'Blend images [geometry]'
|
||||
complete -c composite -o border -d 'Surround image with a border of color [geometry]'
|
||||
complete -c composite -o bordercolor -d 'Border color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c composite -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c composite -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c composite -o displace -d 'Shift lookup according to a relative displacement map [geometry]'
|
||||
complete -c composite -o dissolve -d 'Dissolve the two images a given percent [value]'
|
||||
complete -c composite -o distort -d 'Shift lookup according to a absolute distortion map [geometry]'
|
||||
complete -c composite -o encipher -d 'Convert plain pixels to cipher pixels [filename]' -r
|
||||
complete -c composite -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c composite -o geometry -d 'Location of the composite image [geometry]'
|
||||
complete -c composite -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c composite -o monochrome -d 'Transform image to black and white'
|
||||
complete -c composite -o negate -d 'Replace every pixel with its complementary color '
|
||||
complete -c composite -o profile -d 'Add ICM or IPTC information profile to image [filename]' -r
|
||||
complete -c composite -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(convert -list colorspace)'
|
||||
complete -c composite -o repage -d 'Size and location of an image canvas (operator) [geometry]'
|
||||
complete -c composite -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c composite -o resize -d 'Resize the image [geometry]'
|
||||
complete -c composite -o sharpen -d 'Sharpen the image [geometry]'
|
||||
complete -c composite -o shave -d 'Shave pixels from the image edges [geometry]'
|
||||
complete -c composite -o stegano -d 'Offset hide watermark within an image'
|
||||
complete -c composite -o stereo -d 'Combine two image to create a stereo anaglyph [geometry]'
|
||||
complete -c composite -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c composite -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c composite -o transform -d 'Affine transform image'
|
||||
complete -c composite -o type -d 'Image type [type]' -xa '(convert -list type)'
|
||||
complete -c composite -o unsharp -d 'Sharpen the image [geometry]'
|
||||
complete -c composite -o watermark -d 'Percent brightness and saturation of a watermark [geometry]'
|
||||
complete -c composite -o write -d 'Write images to this file [filename]' -r
|
||||
complete -c composite -o swap -d 'Swap two images in the image sequence [indexes]'
|
||||
complete -c composite -o debug -d 'Display copious debugging information [events]' -xa '(convert -list debug)'
|
||||
complete -c composite -o help -d 'Print program options'
|
||||
complete -c composite -o list -d 'Print a list of supported option arguments [type]' -xa '(convert -list list)'
|
||||
complete -c composite -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c composite -o version -d 'Print version information'
|
||||
complete -c composite -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c composite -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
complete -c composite -o affine -d 'Affine transform matrix [matrix]'
|
||||
complete -c composite -o alpha -d 'On, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape [option]' -xa '(convert -list alpha)'
|
||||
complete -c composite -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c composite -o blue-primary -d 'Chromaticity blue primary point [point]'
|
||||
complete -c composite -o channel -d 'Apply option to select image channels [type]' -xa '(convert -list channel)'
|
||||
complete -c composite -o colorspace -d 'Alternate image colorspace [type]' -xa '(convert -list colorspace)'
|
||||
complete -c composite -o comment -d 'Annotate image with comment [string]'
|
||||
complete -c composite -o compose -d 'Composite operator [operator]'
|
||||
complete -c composite -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(convert -list compress)'
|
||||
complete -c composite -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c composite -o depth -d 'Image depth [value]'
|
||||
complete -c composite -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c composite -o display -d 'Get image or font from this X server [server]'
|
||||
complete -c composite -o dispose -d 'Layer disposal method [method]' -xa '(convert -list dispose)'
|
||||
complete -c composite -o dither -d 'Apply error diffusion to image [method]' -xa '(convert -list dither)'
|
||||
complete -c composite -o encoding -d 'Encoding type [type text]' -xa '(__fish_print_encodings)'
|
||||
complete -c composite -o endian -d 'Endianness (MSB or LSB) of the image [type]' -xa '(convert -list endian)'
|
||||
complete -c composite -o filter -d 'Use this filter when resizing an image [type]' -xa '(convert -list filter)'
|
||||
complete -c composite -o font -d 'Render text with this font [name]' -xa '(__fish_complete_convert_options font)'
|
||||
complete -c composite -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c composite -o gravity -d 'Which direction to gravitate towards [type]' -xa '(convert -list gravity)'
|
||||
complete -c composite -o green-primary -d 'Chromaticity green primary point [point]'
|
||||
complete -c composite -o interlace -d 'Type of image interlacing scheme [type]' -xa '(convert -list interlace)'
|
||||
complete -c composite -o interpolate -d 'Pixel color interpolation method [method]' -xa '(convert -list interpolate)'
|
||||
complete -c composite -o label -d 'Assign a label to an image [string]'
|
||||
complete -c composite -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c composite -o monitor -d 'Monitor progress '
|
||||
complete -c composite -o page -d 'Size and location of an image canvas (setting) [geometry]'
|
||||
complete -c composite -o pointsize -d 'Font point size [value]'
|
||||
complete -c composite -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c composite -o quiet -d 'Suppress all warning messages'
|
||||
complete -c composite -o red-primary -d 'Chromaticity red primary point [point]'
|
||||
complete -c composite -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c composite -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c composite -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c composite -o scene -d 'Image scene number [value]'
|
||||
complete -c composite -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c composite -o size -d 'Width and height of image [geometry]'
|
||||
complete -c composite -o synchronize -d 'Synchronize image to storage device'
|
||||
complete -c composite -o taint -d 'Declare the image as modified'
|
||||
complete -c composite -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c composite -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c composite -o tile -d 'Repeat composite operation across and down image'
|
||||
complete -c composite -o units -d 'The units of image resolution [type]' -xa '(convert -list units)'
|
||||
complete -c composite -o verbose -d 'Print detailed information about the image'
|
||||
complete -c composite -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(convert -list virtual-pixel)'
|
||||
complete -c composite -o white-point -d 'Chromaticity white point [point]'
|
||||
complete -c composite -o blend -d 'Blend images [geometry]'
|
||||
complete -c composite -o border -d 'Surround image with a border of color [geometry]'
|
||||
complete -c composite -o bordercolor -d 'Border color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c composite -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c composite -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c composite -o displace -d 'Shift lookup according to a relative displacement map [geometry]'
|
||||
complete -c composite -o dissolve -d 'Dissolve the two images a given percent [value]'
|
||||
complete -c composite -o distort -d 'Shift lookup according to a absolute distortion map [geometry]'
|
||||
complete -c composite -o encipher -d 'Convert plain pixels to cipher pixels [filename]' -r
|
||||
complete -c composite -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c composite -o geometry -d 'Location of the composite image [geometry]'
|
||||
complete -c composite -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c composite -o monochrome -d 'Transform image to black and white'
|
||||
complete -c composite -o negate -d 'Replace every pixel with its complementary color '
|
||||
complete -c composite -o profile -d 'Add ICM or IPTC information profile to image [filename]' -r
|
||||
complete -c composite -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(convert -list colorspace)'
|
||||
complete -c composite -o repage -d 'Size and location of an image canvas (operator) [geometry]'
|
||||
complete -c composite -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c composite -o resize -d 'Resize the image [geometry]'
|
||||
complete -c composite -o sharpen -d 'Sharpen the image [geometry]'
|
||||
complete -c composite -o shave -d 'Shave pixels from the image edges [geometry]'
|
||||
complete -c composite -o stegano -d 'Offset hide watermark within an image'
|
||||
complete -c composite -o stereo -d 'Combine two image to create a stereo anaglyph [geometry]'
|
||||
complete -c composite -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c composite -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c composite -o transform -d 'Affine transform image'
|
||||
complete -c composite -o type -d 'Image type [type]' -xa '(convert -list type)'
|
||||
complete -c composite -o unsharp -d 'Sharpen the image [geometry]'
|
||||
complete -c composite -o watermark -d 'Percent brightness and saturation of a watermark [geometry]'
|
||||
complete -c composite -o write -d 'Write images to this file [filename]' -r
|
||||
complete -c composite -o swap -d 'Swap two images in the image sequence [indexes]'
|
||||
complete -c composite -o debug -d 'Display copious debugging information [events]' -xa '(convert -list debug)'
|
||||
complete -c composite -o help -d 'Print program options'
|
||||
complete -c composite -o list -d 'Print a list of supported option arguments [type]' -xa '(convert -list list)'
|
||||
complete -c composite -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c composite -o version -d 'Print version information'
|
||||
complete -c composite -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c composite -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
|
|
|
@ -42,23 +42,23 @@ complete -c conda -s h -l help -d "Show help and exit"
|
|||
__fish_conda_top -s V -l version -d "Show the conda version number and exit"
|
||||
|
||||
# top-level commands
|
||||
__fish_conda_top -a clean -d "Remove unused packages and caches"
|
||||
__fish_conda_top -a config -d "Modify configuration values in .condarc"
|
||||
__fish_conda_top -a create -d "Create a new conda environment from a list of specified packages"
|
||||
__fish_conda_top -a help -d "Displays a list of available conda commands and their help strings"
|
||||
__fish_conda_top -a info -d "Display information about current conda install"
|
||||
__fish_conda_top -a install -d "Installs a list of packages into a specified conda environment"
|
||||
__fish_conda_top -a list -d "List linked packages in a conda environment"
|
||||
__fish_conda_top -a package -d "Low-level conda package utility (EXPERIMENTAL)"
|
||||
__fish_conda_top -a remove -d "Remove a list of packages from a specified conda environment"
|
||||
__fish_conda_top -a clean -d "Remove unused packages and caches"
|
||||
__fish_conda_top -a config -d "Modify configuration values in .condarc"
|
||||
__fish_conda_top -a create -d "Create a new conda environment from a list of specified packages"
|
||||
__fish_conda_top -a help -d "Displays a list of available conda commands and their help strings"
|
||||
__fish_conda_top -a info -d "Display information about current conda install"
|
||||
__fish_conda_top -a install -d "Installs a list of packages into a specified conda environment"
|
||||
__fish_conda_top -a list -d "List linked packages in a conda environment"
|
||||
__fish_conda_top -a package -d "Low-level conda package utility (EXPERIMENTAL)"
|
||||
__fish_conda_top -a remove -d "Remove a list of packages from a specified conda environment"
|
||||
__fish_conda_top -a uninstall -d "Alias for conda remove"
|
||||
__fish_conda_top -a search -d "Search for packages and display associated information"
|
||||
__fish_conda_top -a update -d "Updates conda packages to the latest compatible version"
|
||||
__fish_conda_top -a upgrade -d "Alias for conda update"
|
||||
__fish_conda_top -a search -d "Search for packages and display associated information"
|
||||
__fish_conda_top -a update -d "Updates conda packages to the latest compatible version"
|
||||
__fish_conda_top -a upgrade -d "Alias for conda update"
|
||||
|
||||
# command added by sourcing ~/miniconda3/etc/fish/conf.d/conda.fish,
|
||||
# which is the recommended way to use conda with fish
|
||||
__fish_conda_top -a activate -d "Activate the given environment"
|
||||
__fish_conda_top -a activate -d "Activate the given environment"
|
||||
__fish_conda activate -x -a "(__fish_conda_environments)"
|
||||
__fish_conda_top -a deactivate -d "Deactivate current environment, reactivating the previous one"
|
||||
|
||||
|
@ -66,52 +66,52 @@ __fish_conda_top -a deactivate -d "Deactivate current environment, reactivating
|
|||
|
||||
set -l __fish_conda_commands clean config create help info install list package remove uninstall search update upgrade
|
||||
for cmd in $__fish_conda_commands
|
||||
__fish_conda $cmd -l json -d "Report all output as json"
|
||||
__fish_conda $cmd -l debug -d "Show debug output"
|
||||
__fish_conda $cmd -l json -d "Report all output as json"
|
||||
__fish_conda $cmd -l debug -d "Show debug output"
|
||||
__fish_conda $cmd -l verbose -s v -d "Use once for info, twice for debug, three times for trace"
|
||||
end
|
||||
|
||||
# 'clean' command
|
||||
__fish_conda clean -s y -l yes -d "Do not ask for confirmation"
|
||||
__fish_conda clean -l dry-run -d "Only display what would have been done"
|
||||
__fish_conda clean -s q -l quiet -d "Do not display progress bar"
|
||||
__fish_conda clean -s a -l all -d "Remove all: same as -iltps"
|
||||
__fish_conda clean -s i -l index-cache -d "Remove index cache"
|
||||
__fish_conda clean -s l -l lock -d "Remove all conda lock files"
|
||||
__fish_conda clean -s t -l tarballs -d "Remove cached package tarballs"
|
||||
__fish_conda clean -s p -l packages -d "Remove unused cached packages (no check for symlinks)"
|
||||
__fish_conda clean -s y -l yes -d "Do not ask for confirmation"
|
||||
__fish_conda clean -l dry-run -d "Only display what would have been done"
|
||||
__fish_conda clean -s q -l quiet -d "Do not display progress bar"
|
||||
__fish_conda clean -s a -l all -d "Remove all: same as -iltps"
|
||||
__fish_conda clean -s i -l index-cache -d "Remove index cache"
|
||||
__fish_conda clean -s l -l lock -d "Remove all conda lock files"
|
||||
__fish_conda clean -s t -l tarballs -d "Remove cached package tarballs"
|
||||
__fish_conda clean -s p -l packages -d "Remove unused cached packages (no check for symlinks)"
|
||||
__fish_conda clean -s s -l source-cache -d "Remove files from the source cache of conda build"
|
||||
|
||||
# 'config' command
|
||||
|
||||
__fish_conda config -l system -d "Write to the system .condarc file"
|
||||
__fish_conda config -l env -d "Write to the active conda environment .condarc file"
|
||||
__fish_conda config -l file -d "Write to the given file"
|
||||
__fish_conda config -l show -x -a "(__fish_conda_config_keys)" -d "Display configuration values"
|
||||
__fish_conda config -l show-sources -d "Display all identified configuration sources"
|
||||
__fish_conda config -l validate -d "Validate all configuration sources"
|
||||
__fish_conda config -l describe -x -a "(__fish_conda_config_keys)" -d "Describe configuration parameters"
|
||||
__fish_conda config -l write-default -d "Write the default configuration to a file"
|
||||
__fish_conda config -l get -x -a "(__fish_conda_config_keys)" -d "Get a configuration value"
|
||||
__fish_conda config -l append -d "Add one configuration value to the end of a list key"
|
||||
__fish_conda config -l prepend -d "Add one configuration value to the beginning of a list key"
|
||||
__fish_conda config -l add -d "Alias for --prepend"
|
||||
__fish_conda config -l set -x -a "(__fish_conda_config_keys)" -d "Set a boolean or string key"
|
||||
__fish_conda config -l remove -x -a "(__fish_conda_config_keys)" -d "Remove a configuration value from a list key"
|
||||
__fish_conda config -l system -d "Write to the system .condarc file"
|
||||
__fish_conda config -l env -d "Write to the active conda environment .condarc file"
|
||||
__fish_conda config -l file -d "Write to the given file"
|
||||
__fish_conda config -l show -x -a "(__fish_conda_config_keys)" -d "Display configuration values"
|
||||
__fish_conda config -l show-sources -d "Display all identified configuration sources"
|
||||
__fish_conda config -l validate -d "Validate all configuration sources"
|
||||
__fish_conda config -l describe -x -a "(__fish_conda_config_keys)" -d "Describe configuration parameters"
|
||||
__fish_conda config -l write-default -d "Write the default configuration to a file"
|
||||
__fish_conda config -l get -x -a "(__fish_conda_config_keys)" -d "Get a configuration value"
|
||||
__fish_conda config -l append -d "Add one configuration value to the end of a list key"
|
||||
__fish_conda config -l prepend -d "Add one configuration value to the beginning of a list key"
|
||||
__fish_conda config -l add -d "Alias for --prepend"
|
||||
__fish_conda config -l set -x -a "(__fish_conda_config_keys)" -d "Set a boolean or string key"
|
||||
__fish_conda config -l remove -x -a "(__fish_conda_config_keys)" -d "Remove a configuration value from a list key"
|
||||
__fish_conda config -l remove-key -x -a "(__fish_conda_config_keys)" -d "Remove a configuration key (and all its values)"
|
||||
__fish_conda config -l stdin -d "Apply configuration given in yaml format from stdin"
|
||||
__fish_conda config -l stdin -d "Apply configuration given in yaml format from stdin"
|
||||
|
||||
# 'help' command
|
||||
__fish_conda "help" -d "Displays a list of available conda commands and their help strings"
|
||||
__fish_conda "help" -d "Displays a list of available conda commands and their help strings"
|
||||
__fish_conda "help" -x -a "$__fish_conda_commands"
|
||||
|
||||
# 'info' command
|
||||
__fish_conda info -l offline -d "Offline mode, don't connect to the Internet."
|
||||
__fish_conda info -s a -l all -d "Show all information, (environments, license, and system information)"
|
||||
__fish_conda info -s e -l envs -d "List all known conda environments"
|
||||
__fish_conda info -s l -l license -d "Display information about the local conda licenses list"
|
||||
__fish_conda info -s s -l system -d "List environment variables"
|
||||
__fish_conda info -l base -d "Display base environment path"
|
||||
__fish_conda info -l offline -d "Offline mode, don't connect to the Internet."
|
||||
__fish_conda info -s a -l all -d "Show all information, (environments, license, and system information)"
|
||||
__fish_conda info -s e -l envs -d "List all known conda environments"
|
||||
__fish_conda info -s l -l license -d "Display information about the local conda licenses list"
|
||||
__fish_conda info -s s -l system -d "List environment variables"
|
||||
__fish_conda info -l base -d "Display base environment path"
|
||||
__fish_conda info -l unsafe-channels -d "Display list of channels with tokens exposed"
|
||||
|
||||
# The remaining commands share many options, so the definitions are written the other way around:
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
complete -c conjure -o monitor -d 'Monitor progress '
|
||||
complete -c conjure -o quiet -d 'Suppress all warning messages'
|
||||
complete -c conjure -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c conjure -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c conjure -o verbose -d 'Print detailed information about the image'
|
||||
complete -c conjure -o debug -d 'Display copious debugging information [events]' -xa '(convert -list debug)'
|
||||
complete -c conjure -o help -d 'Print program options'
|
||||
complete -c conjure -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c conjure -o monitor -d 'Monitor progress '
|
||||
complete -c conjure -o quiet -d 'Suppress all warning messages'
|
||||
complete -c conjure -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c conjure -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c conjure -o verbose -d 'Print detailed information about the image'
|
||||
complete -c conjure -o debug -d 'Display copious debugging information [events]' -xa '(convert -list debug)'
|
||||
complete -c conjure -o help -d 'Print program options'
|
||||
complete -c conjure -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
#complete -c conjure -o list -d 'Print a list of supported option arguments [type]' -xa '(convert -list list)'
|
||||
|
|
|
@ -1,232 +1,232 @@
|
|||
complete -c convert -o adjoin -d 'Join images into a single multi-image file'
|
||||
complete -c convert -o affine -d 'Affine transform matrix [matrix]'
|
||||
complete -c convert -o alpha -d 'Activate, deactivate, reset, or set the alpha channel [option]' -xa '(convert -list alpha)'
|
||||
complete -c convert -o antialias -d 'Remove pixel-aliasing '
|
||||
complete -c convert -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c convert -o attenuate -d 'Lessen (or intensify) when adding noise to an image [value]'
|
||||
complete -c convert -o background -d 'Background color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o bias -d 'Add bias when convolving an image [value]'
|
||||
complete -c convert -o black-point-compensation -d 'Use black point compensation'
|
||||
complete -c convert -o blue-primary -d 'Chromaticity blue primary point [point]'
|
||||
complete -c convert -o bordercolor -d 'Border color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o caption -d 'Assign a caption to an image [string]'
|
||||
complete -c convert -o channel -d 'Apply option to select image channels [type]' -xa '(convert -list channel)'
|
||||
complete -c convert -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c convert -o colorspace -d 'Alternate image colorspace [type]' -xa '(convert -list colorspace)'
|
||||
complete -c convert -o comment -d 'Annotate image with comment [string]'
|
||||
complete -c convert -o compose -d 'Set image composite operator [operator]'
|
||||
complete -c convert -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(convert -list compress)'
|
||||
complete -c convert -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c convert -o delay -d 'Display the next image after pausing [value]'
|
||||
complete -c convert -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c convert -o depth -d 'Image depth [value]'
|
||||
complete -c convert -o direction -d 'Render text right-to-left or left-to-right [type]' -xa '(convert -list direction)'
|
||||
complete -c convert -o display -d 'Get image or font from this X server [server]'
|
||||
complete -c convert -o dispose -d 'Layer disposal method [method]' -xa '(convert -list dispose)'
|
||||
complete -c convert -o dither -d 'Apply error diffusion to image [method]' -xa '(convert -list dither)'
|
||||
complete -c convert -o encoding -d 'Encoding type [type text]' -xa '(__fish_print_encodings)'
|
||||
complete -c convert -o endian -d 'Endianness (MSB or LSB) of the image [type]' -xa '(convert -list endian)'
|
||||
complete -c convert -o family -d 'Render text with this font family [name]' -xa '(__fish_complete_convert_options family)'
|
||||
complete -c convert -o fill -d 'Color to use when filling a graphic primitive [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o filter -d 'Use this filter when resizing an image [type]' -xa '(convert -list filter)'
|
||||
complete -c convert -o font -d 'Render text with this font [name]' -xa '(__fish_complete_convert_options font)'
|
||||
complete -c convert -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c convert -o fuzz -d 'Colors within this distance are considered equal [distance]'
|
||||
complete -c convert -o gravity -d 'Horizontal and vertical text placement [type]' -xa '(convert -list gravity)'
|
||||
complete -c convert -o green-primary -d 'Chromaticity green primary point [point]'
|
||||
complete -c convert -o intent -d 'Type of rendering intent when managing the image color [type]' -xa '(convert -list intent)'
|
||||
complete -c convert -o interlace -d 'Type of image interlacing scheme [type]' -xa '(convert -list interlace)'
|
||||
complete -c convert -o interline-spacing -d 'Set the space between two text lines [value]'
|
||||
complete -c convert -o interpolate -d 'Pixel color interpolation method [method]' -xa '(convert -list interpolate)'
|
||||
complete -c convert -o interword-spacing -d 'Set the space between two words [value]'
|
||||
complete -c convert -o kerning -d 'Set the space between two letters [value]'
|
||||
complete -c convert -o label -d 'Assign a label to an image [string]'
|
||||
complete -c convert -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c convert -o loop -d 'Add Netscape loop extension to your GIF animation [iterations]'
|
||||
complete -c convert -o mask -d 'Associate a mask with the image [filename]' -r
|
||||
complete -c convert -o mattecolor -d 'Frame color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o monitor -d 'Monitor progress '
|
||||
complete -c convert -o orient -d 'Image orientation [type]' -xa '(convert -list orientation)'
|
||||
complete -c convert -o page -d 'Size and location of an image canvas (setting) [geometry]'
|
||||
complete -c convert -o ping -d 'Efficiently determine image attributes'
|
||||
complete -c convert -o pointsize -d 'Font point size [value]'
|
||||
complete -c convert -o precision -d 'Maximum number of significant digits to print [value]'
|
||||
complete -c convert -o preview -d 'Image preview type [type]' -xa '(convert -list preview)'
|
||||
complete -c convert -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c convert -o quiet -d 'Suppress all warning messages'
|
||||
complete -c convert -o red-primary -d 'Chromaticity red primary point [point]'
|
||||
complete -c convert -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c convert -o remap -d 'Transform image colors to match this set of colors [filename]' -r
|
||||
complete -c convert -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c convert -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c convert -o scene -d 'Image scene number [value]'
|
||||
complete -c convert -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c convert -o size -d 'Width and height of image [geometry]'
|
||||
complete -c convert -o stretch -d 'Render text with this font stretch [type]' -xa '(convert -list stretch)'
|
||||
complete -c convert -o stroke -d 'Graphic primitive stroke color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o strokewidth -d 'Graphic primitive stroke width [value]'
|
||||
complete -c convert -o style -d 'Render text with this font style [type]' -xa '(convert -list style)'
|
||||
complete -c convert -o synchronize -d 'Synchronize image to storage device'
|
||||
complete -c convert -o taint -d 'Declare the image as modified'
|
||||
complete -c convert -o texture -d 'Name of texture to tile onto the image background [filename]' -r
|
||||
complete -c convert -o tile-offset -d 'Tile offset [geometry]'
|
||||
complete -c convert -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c convert -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o undercolor -d 'Annotation bounding box color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o units -d 'The units of image resolution [type]' -xa '(convert -list units)'
|
||||
complete -c convert -o verbose -d 'Print detailed information about the image'
|
||||
complete -c convert -o view -d 'FlashPix viewing transforms'
|
||||
complete -c convert -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(convert -list virtual-pixel)'
|
||||
complete -c convert -o weight -d 'Render text with this font weight [type]' -x
|
||||
complete -c convert -o white-point -d 'Chromaticity white point [point]'
|
||||
complete -c convert -o adaptive-blur -d 'Adaptively blur pixels; decrease effect near edges [geometry]'
|
||||
complete -c convert -o adaptive-resize -d 'Adaptively resize image using \'mesh\' interpolation [geometry]'
|
||||
complete -c convert -o adaptive-sharpen -d 'Adaptively sharpen pixels; increase effect near edges [geometry]'
|
||||
complete -c convert -o annotate -d 'Annotate the image with text [geometry text]'
|
||||
complete -c convert -o auto-gamma -d 'Automagically adjust gamma level of image'
|
||||
complete -c convert -o auto-level -d 'Automagically adjust color levels of image'
|
||||
complete -c convert -o auto-orient -d 'Automagically orient (rotate) image'
|
||||
complete -c convert -o bench -d 'Measure performance [iterations]'
|
||||
complete -c convert -o black-threshold -d 'Force all pixels below the threshold into black [value]'
|
||||
complete -c convert -o blue-shift -d 'Simulate a scene at nighttime in the moonlight [factor]'
|
||||
complete -c convert -o blur -d 'Reduce image noise and reduce detail levels [geometry]'
|
||||
complete -c convert -o border -d 'Surround image with a border of color [geometry]'
|
||||
complete -c convert -o brightness-contrast -d 'Improve brightness / contrast of the image [geometry]'
|
||||
complete -c convert -o cdl -d 'Color correct with a color decision list [filename]' -r
|
||||
complete -c convert -o charcoal -d 'Simulate a charcoal drawing [radius]'
|
||||
complete -c convert -o chop -d 'Remove pixels from the image interior [geometry]'
|
||||
complete -c convert -o clamp -d 'Restrict pixel range from 0 to the quantum depth'
|
||||
complete -c convert -o clip -d 'Clip along the first path from the 8BIM profile'
|
||||
complete -c convert -o clip-mask -d 'Associate a clip mask with the image [filename]' -r
|
||||
complete -c convert -o clip-path -d 'Clip along a named path from the 8BIM profile [id]'
|
||||
complete -c convert -o colorize -d 'Colorize the image with the fill color [value]'
|
||||
complete -c convert -o color-matrix -d 'Apply color correction to the image [matrix]'
|
||||
complete -c convert -o contrast -d 'Enhance or reduce the image contrast'
|
||||
complete -c convert -o contrast-stretch -d 'Improve contrast by `stretching\' the intensity range [geometry]'
|
||||
complete -c convert -o convolve -d 'Apply a convolution kernel to the image [coefficients]'
|
||||
complete -c convert -o cycle -d 'Cycle the image colormap [amount]'
|
||||
complete -c convert -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c convert -o deskew -d 'Straighten an image [threshold]'
|
||||
complete -c convert -o despeckle -d 'Reduce the speckles within an image'
|
||||
complete -c convert -o distort -d 'Args distort images according to given method ad args [method]' -xa '(convert -list distort)'
|
||||
complete -c convert -o draw -d 'Annotate the image with a graphic primitive [string]'
|
||||
complete -c convert -o edge -d 'Apply a filter to detect edges in the image [radius]'
|
||||
complete -c convert -o encipher -d 'Convert plain pixels to cipher pixels [filename]' -r
|
||||
complete -c convert -o emboss -d 'Emboss an image [radius]'
|
||||
complete -c convert -o enhance -d 'Apply a digital filter to enhance a noisy image'
|
||||
complete -c convert -o equalize -d 'Perform histogram equalization to an image'
|
||||
complete -c convert -o evaluate -d 'Evaluate an arithmetic, relational, or logical expression [operator value]'
|
||||
complete -c convert -o extent -d 'Set the image size [geometry]'
|
||||
complete -c convert -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c convert -o fft -d 'Implements the discrete Fourier transform (DFT)'
|
||||
complete -c convert -o flip -d 'Flip image vertically'
|
||||
complete -c convert -o floodfill -d 'Color floodfill the image with color [geometry]'
|
||||
complete -c convert -o flop -d 'Flop image horizontally'
|
||||
complete -c convert -o frame -d 'Surround image with an ornamental border [geometry]'
|
||||
complete -c convert -o function -d 'Apply function over image values [name parameters]' -xa '(convert -list function)'
|
||||
complete -c convert -o gamma -d 'Level of gamma correction [value]'
|
||||
complete -c convert -o gaussian-blur -d 'Reduce image noise and reduce detail levels [geometry]'
|
||||
complete -c convert -o geometry -d 'Preferred size or location of the image [geometry]'
|
||||
complete -c convert -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c convert -o ift -d 'Implements the inverse discrete Fourier transform (DFT)'
|
||||
complete -c convert -o implode -d 'Implode image pixels about the center [amount]'
|
||||
complete -c convert -o lat -d 'Local adaptive thresholding [geometry]'
|
||||
complete -c convert -o layers -d 'Optimize, merge, or compare image layers [method]' -xa '(convert -list layers)'
|
||||
complete -c convert -o level -d 'Adjust the level of image contrast [value]'
|
||||
complete -c convert -o level-colors -d 'Level image with the given colors [color,color]' -xa '(__fish_complete_list , "__fish_complete_convert_options color")'
|
||||
complete -c convert -o linear-stretch -d 'Improve contrast by `stretching with saturation\' [geometry]'
|
||||
complete -c convert -o liquid-rescale -d 'Rescale image with seam-carving [geometry]'
|
||||
complete -c convert -o median -d 'Apply a median filter to the image [geometry]'
|
||||
complete -c convert -o mode -d 'Make each pixel the \'predominant color\' of the neighborhood [geometry]'
|
||||
complete -c convert -o modulate -d 'Vary the brightness, saturation, and hue [value]'
|
||||
complete -c convert -o monochrome -d 'Transform image to black and white'
|
||||
complete -c convert -o morphology -d 'Apply a morphology method to the image [method kernel]' -xa '(convert -list morphology)'
|
||||
complete -c convert -o motion-blur -d 'Simulate motion blur [geometry]'
|
||||
complete -c convert -o negate -d 'Replace every pixel with its complementary color '
|
||||
complete -c convert -o noise -d 'Add or reduce noise in an image [geometry]'
|
||||
complete -c convert -o normalize -d 'Transform image to span the full range of colors'
|
||||
complete -c convert -o opaque -d 'Change this color to the fill color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o ordered-dither -d 'Add a noise pattern to the image with specific amplitudes [NxN]'
|
||||
complete -c convert -o paint -d 'Simulate an oil painting [radius]'
|
||||
complete -c convert -o polaroid -d 'Simulate a Polaroid picture [angle]'
|
||||
complete -c convert -o posterize -d 'Reduce the image to a limited number of color levels [levels]'
|
||||
complete -c convert -o profile -d 'Add, delete, or apply an image profile [filename]' -r
|
||||
complete -c convert -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(convert -list colorspace)'
|
||||
complete -c convert -o radial-blur -d 'Radial blur the image [angle]'
|
||||
complete -c convert -o raise -d 'Lighten/darken image edges to create a 3-D effect [value]'
|
||||
complete -c convert -o random-threshold -d 'Random threshold the image [low,high]'
|
||||
complete -c convert -o region -d 'Apply options to a portion of the image [geometry]'
|
||||
complete -c convert -o render -d 'Render vector graphics'
|
||||
complete -c convert -o repage -d 'Size and location of an image canvas [geometry]'
|
||||
complete -c convert -o resample -d 'Change the resolution of an image [geometry]'
|
||||
complete -c convert -o resize -d 'Resize the image [geometry]'
|
||||
complete -c convert -o roll -d 'Roll an image vertically or horizontally [geometry]'
|
||||
complete -c convert -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c convert -o sample -d 'Scale image with pixel sampling [geometry]'
|
||||
complete -c convert -o scale -d 'Scale the image [geometry]'
|
||||
complete -c convert -o segment -d 'Segment an image [values]'
|
||||
complete -c convert -o selective-blur -d 'Selectively blur pixels within a contrast threshold [geometry]'
|
||||
complete -c convert -o sepia-tone -d 'Simulate a sepia-toned photo [threshold]'
|
||||
complete -c convert -o set -d 'Set an image property [property value]'
|
||||
complete -c convert -o shade -d 'Shade the image using a distant light source [degrees]'
|
||||
complete -c convert -o shadow -d 'Simulate an image shadow [geometry]'
|
||||
complete -c convert -o sharpen -d 'Sharpen the image [geometry]'
|
||||
complete -c convert -o shave -d 'Shave pixels from the image edges [geometry]'
|
||||
complete -c convert -o shear -d 'Slide one edge of the image along the X or Y axis [geometry]'
|
||||
complete -c convert -o sigmoidal-contrast -d 'Increase the contrast without saturating highlights or shadows [geometry]'
|
||||
complete -c convert -o sketch -d 'Simulate a pencil sketch [geometry]'
|
||||
complete -c convert -o solarize -d 'Negate all pixels above the threshold level [threshold]'
|
||||
complete -c convert -o sparse-color -d 'Args fill in a image based on a few color points [method]' -xa '(convert -list sparse-color)'
|
||||
complete -c convert -o splice -d 'Splice the background color into the image [geometry]'
|
||||
complete -c convert -o spread -d 'Displace image pixels by a random amount [radius]'
|
||||
complete -c convert -o statistic -d 'Replace each pixel with corresponding statistic from the neighborhood [type geometry]' -xa '(convert -list statistic)'
|
||||
complete -c convert -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c convert -o swirl -d 'Swirl image pixels about the center [degrees]'
|
||||
complete -c convert -o threshold -d 'Threshold the image [value]'
|
||||
complete -c convert -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c convert -o tile -d 'Tile image when filling a graphic primitive [filename]' -r
|
||||
complete -c convert -o tint -d 'Tint the image with the fill color [value]'
|
||||
complete -c convert -o transform -d 'Affine transform image'
|
||||
complete -c convert -o transparent -d 'Make this color transparent within the image [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o transpose -d 'Flip image vertically and rotate 90 degrees'
|
||||
complete -c convert -o transverse -d 'Flop image horizontally and rotate 270 degrees'
|
||||
complete -c convert -o trim -d 'Trim image edges'
|
||||
complete -c convert -o type -d 'Image type [type]' -xa '(convert -list type)'
|
||||
complete -c convert -o unique-colors -d 'Discard all but one of any pixel color'
|
||||
complete -c convert -o unsharp -d 'Sharpen the image [geometry]'
|
||||
complete -c convert -o vignette -d 'Soften the edges of the image in vignette style [geometry]'
|
||||
complete -c convert -o wave -d 'Alter an image along a sine wave [geometry]'
|
||||
complete -c convert -o white-threshold -d 'Force all pixels above the threshold into white [value]'
|
||||
complete -c convert -o append -d 'Append an image sequence'
|
||||
complete -c convert -o clut -d 'Apply a color lookup table to the image'
|
||||
complete -c convert -o coalesce -d 'Merge a sequence of images'
|
||||
complete -c convert -o combine -d 'Combine a sequence of images'
|
||||
complete -c convert -o composite -d 'Composite image '
|
||||
complete -c convert -o crop -d 'Cut out a rectangular region of the image [geometry]'
|
||||
complete -c convert -o deconstruct -d 'Break down an image sequence into constituent parts'
|
||||
complete -c convert -o evaluate-sequence -d 'Evaluate an arithmetic, relational, or logical expression [operator]'
|
||||
complete -c convert -o flatten -d 'Flatten a sequence of images'
|
||||
complete -c convert -o fx -d 'Apply mathematical expression to an image channel(s) [expression]'
|
||||
complete -c convert -o hald-clut -d 'Apply a Hald color lookup table to the image'
|
||||
complete -c convert -o morph -d 'Morph an image sequence [value]'
|
||||
complete -c convert -o mosaic -d 'Create a mosaic from an image sequence'
|
||||
complete -c convert -o print -d 'Interpret string and print to console [string]'
|
||||
complete -c convert -o process -d 'Process the image with a custom image filter [arguments]' -xa '(convert -list filter)'
|
||||
complete -c convert -o separate -d 'Separate an image channel into a grayscale image'
|
||||
complete -c convert -o smush -d 'Smush an image sequence together [geometry]'
|
||||
complete -c convert -o write -d 'Write images to this file [filename]' -r
|
||||
complete -c convert -o clone -d 'Clone an image [indexes]'
|
||||
complete -c convert -o delete -d 'Delete the image from the image sequence [indexes]'
|
||||
complete -c convert -o duplicate -d 'Duplicate an image one or more times [count,indexes]'
|
||||
complete -c convert -o insert -d 'Insert last image into the image sequence [index]'
|
||||
complete -c convert -o reverse -d 'Reverse image sequence'
|
||||
complete -c convert -o swap -d 'Swap two images in the image sequence [indexes]'
|
||||
complete -c convert -o debug -d 'Display copious debugging information [events]' -xa '(convert -list debug)'
|
||||
complete -c convert -o help -d 'Print program options'
|
||||
complete -c convert -o list -d 'Print a list of supported option arguments [type]' -xa '(convert -list list)'
|
||||
complete -c convert -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c convert -o version -d 'Print version information'
|
||||
complete -c convert -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c convert -o origin -d 'Image origin [geometry]'
|
||||
complete -c convert -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
complete -c convert -o affinity -d 'Transform image colors to match this set of colors [filename]' -r
|
||||
complete -c convert -o adjoin -d 'Join images into a single multi-image file'
|
||||
complete -c convert -o affine -d 'Affine transform matrix [matrix]'
|
||||
complete -c convert -o alpha -d 'Activate, deactivate, reset, or set the alpha channel [option]' -xa '(convert -list alpha)'
|
||||
complete -c convert -o antialias -d 'Remove pixel-aliasing '
|
||||
complete -c convert -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c convert -o attenuate -d 'Lessen (or intensify) when adding noise to an image [value]'
|
||||
complete -c convert -o background -d 'Background color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o bias -d 'Add bias when convolving an image [value]'
|
||||
complete -c convert -o black-point-compensation -d 'Use black point compensation'
|
||||
complete -c convert -o blue-primary -d 'Chromaticity blue primary point [point]'
|
||||
complete -c convert -o bordercolor -d 'Border color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o caption -d 'Assign a caption to an image [string]'
|
||||
complete -c convert -o channel -d 'Apply option to select image channels [type]' -xa '(convert -list channel)'
|
||||
complete -c convert -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c convert -o colorspace -d 'Alternate image colorspace [type]' -xa '(convert -list colorspace)'
|
||||
complete -c convert -o comment -d 'Annotate image with comment [string]'
|
||||
complete -c convert -o compose -d 'Set image composite operator [operator]'
|
||||
complete -c convert -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(convert -list compress)'
|
||||
complete -c convert -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c convert -o delay -d 'Display the next image after pausing [value]'
|
||||
complete -c convert -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c convert -o depth -d 'Image depth [value]'
|
||||
complete -c convert -o direction -d 'Render text right-to-left or left-to-right [type]' -xa '(convert -list direction)'
|
||||
complete -c convert -o display -d 'Get image or font from this X server [server]'
|
||||
complete -c convert -o dispose -d 'Layer disposal method [method]' -xa '(convert -list dispose)'
|
||||
complete -c convert -o dither -d 'Apply error diffusion to image [method]' -xa '(convert -list dither)'
|
||||
complete -c convert -o encoding -d 'Encoding type [type text]' -xa '(__fish_print_encodings)'
|
||||
complete -c convert -o endian -d 'Endianness (MSB or LSB) of the image [type]' -xa '(convert -list endian)'
|
||||
complete -c convert -o family -d 'Render text with this font family [name]' -xa '(__fish_complete_convert_options family)'
|
||||
complete -c convert -o fill -d 'Color to use when filling a graphic primitive [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o filter -d 'Use this filter when resizing an image [type]' -xa '(convert -list filter)'
|
||||
complete -c convert -o font -d 'Render text with this font [name]' -xa '(__fish_complete_convert_options font)'
|
||||
complete -c convert -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c convert -o fuzz -d 'Colors within this distance are considered equal [distance]'
|
||||
complete -c convert -o gravity -d 'Horizontal and vertical text placement [type]' -xa '(convert -list gravity)'
|
||||
complete -c convert -o green-primary -d 'Chromaticity green primary point [point]'
|
||||
complete -c convert -o intent -d 'Type of rendering intent when managing the image color [type]' -xa '(convert -list intent)'
|
||||
complete -c convert -o interlace -d 'Type of image interlacing scheme [type]' -xa '(convert -list interlace)'
|
||||
complete -c convert -o interline-spacing -d 'Set the space between two text lines [value]'
|
||||
complete -c convert -o interpolate -d 'Pixel color interpolation method [method]' -xa '(convert -list interpolate)'
|
||||
complete -c convert -o interword-spacing -d 'Set the space between two words [value]'
|
||||
complete -c convert -o kerning -d 'Set the space between two letters [value]'
|
||||
complete -c convert -o label -d 'Assign a label to an image [string]'
|
||||
complete -c convert -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c convert -o loop -d 'Add Netscape loop extension to your GIF animation [iterations]'
|
||||
complete -c convert -o mask -d 'Associate a mask with the image [filename]' -r
|
||||
complete -c convert -o mattecolor -d 'Frame color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o monitor -d 'Monitor progress '
|
||||
complete -c convert -o orient -d 'Image orientation [type]' -xa '(convert -list orientation)'
|
||||
complete -c convert -o page -d 'Size and location of an image canvas (setting) [geometry]'
|
||||
complete -c convert -o ping -d 'Efficiently determine image attributes'
|
||||
complete -c convert -o pointsize -d 'Font point size [value]'
|
||||
complete -c convert -o precision -d 'Maximum number of significant digits to print [value]'
|
||||
complete -c convert -o preview -d 'Image preview type [type]' -xa '(convert -list preview)'
|
||||
complete -c convert -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c convert -o quiet -d 'Suppress all warning messages'
|
||||
complete -c convert -o red-primary -d 'Chromaticity red primary point [point]'
|
||||
complete -c convert -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c convert -o remap -d 'Transform image colors to match this set of colors [filename]' -r
|
||||
complete -c convert -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c convert -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c convert -o scene -d 'Image scene number [value]'
|
||||
complete -c convert -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c convert -o size -d 'Width and height of image [geometry]'
|
||||
complete -c convert -o stretch -d 'Render text with this font stretch [type]' -xa '(convert -list stretch)'
|
||||
complete -c convert -o stroke -d 'Graphic primitive stroke color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o strokewidth -d 'Graphic primitive stroke width [value]'
|
||||
complete -c convert -o style -d 'Render text with this font style [type]' -xa '(convert -list style)'
|
||||
complete -c convert -o synchronize -d 'Synchronize image to storage device'
|
||||
complete -c convert -o taint -d 'Declare the image as modified'
|
||||
complete -c convert -o texture -d 'Name of texture to tile onto the image background [filename]' -r
|
||||
complete -c convert -o tile-offset -d 'Tile offset [geometry]'
|
||||
complete -c convert -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c convert -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o undercolor -d 'Annotation bounding box color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o units -d 'The units of image resolution [type]' -xa '(convert -list units)'
|
||||
complete -c convert -o verbose -d 'Print detailed information about the image'
|
||||
complete -c convert -o view -d 'FlashPix viewing transforms'
|
||||
complete -c convert -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(convert -list virtual-pixel)'
|
||||
complete -c convert -o weight -d 'Render text with this font weight [type]' -x
|
||||
complete -c convert -o white-point -d 'Chromaticity white point [point]'
|
||||
complete -c convert -o adaptive-blur -d 'Adaptively blur pixels; decrease effect near edges [geometry]'
|
||||
complete -c convert -o adaptive-resize -d 'Adaptively resize image using \'mesh\' interpolation [geometry]'
|
||||
complete -c convert -o adaptive-sharpen -d 'Adaptively sharpen pixels; increase effect near edges [geometry]'
|
||||
complete -c convert -o annotate -d 'Annotate the image with text [geometry text]'
|
||||
complete -c convert -o auto-gamma -d 'Automagically adjust gamma level of image'
|
||||
complete -c convert -o auto-level -d 'Automagically adjust color levels of image'
|
||||
complete -c convert -o auto-orient -d 'Automagically orient (rotate) image'
|
||||
complete -c convert -o bench -d 'Measure performance [iterations]'
|
||||
complete -c convert -o black-threshold -d 'Force all pixels below the threshold into black [value]'
|
||||
complete -c convert -o blue-shift -d 'Simulate a scene at nighttime in the moonlight [factor]'
|
||||
complete -c convert -o blur -d 'Reduce image noise and reduce detail levels [geometry]'
|
||||
complete -c convert -o border -d 'Surround image with a border of color [geometry]'
|
||||
complete -c convert -o brightness-contrast -d 'Improve brightness / contrast of the image [geometry]'
|
||||
complete -c convert -o cdl -d 'Color correct with a color decision list [filename]' -r
|
||||
complete -c convert -o charcoal -d 'Simulate a charcoal drawing [radius]'
|
||||
complete -c convert -o chop -d 'Remove pixels from the image interior [geometry]'
|
||||
complete -c convert -o clamp -d 'Restrict pixel range from 0 to the quantum depth'
|
||||
complete -c convert -o clip -d 'Clip along the first path from the 8BIM profile'
|
||||
complete -c convert -o clip-mask -d 'Associate a clip mask with the image [filename]' -r
|
||||
complete -c convert -o clip-path -d 'Clip along a named path from the 8BIM profile [id]'
|
||||
complete -c convert -o colorize -d 'Colorize the image with the fill color [value]'
|
||||
complete -c convert -o color-matrix -d 'Apply color correction to the image [matrix]'
|
||||
complete -c convert -o contrast -d 'Enhance or reduce the image contrast'
|
||||
complete -c convert -o contrast-stretch -d 'Improve contrast by `stretching\' the intensity range [geometry]'
|
||||
complete -c convert -o convolve -d 'Apply a convolution kernel to the image [coefficients]'
|
||||
complete -c convert -o cycle -d 'Cycle the image colormap [amount]'
|
||||
complete -c convert -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c convert -o deskew -d 'Straighten an image [threshold]'
|
||||
complete -c convert -o despeckle -d 'Reduce the speckles within an image'
|
||||
complete -c convert -o distort -d 'Args distort images according to given method ad args [method]' -xa '(convert -list distort)'
|
||||
complete -c convert -o draw -d 'Annotate the image with a graphic primitive [string]'
|
||||
complete -c convert -o edge -d 'Apply a filter to detect edges in the image [radius]'
|
||||
complete -c convert -o encipher -d 'Convert plain pixels to cipher pixels [filename]' -r
|
||||
complete -c convert -o emboss -d 'Emboss an image [radius]'
|
||||
complete -c convert -o enhance -d 'Apply a digital filter to enhance a noisy image'
|
||||
complete -c convert -o equalize -d 'Perform histogram equalization to an image'
|
||||
complete -c convert -o evaluate -d 'Evaluate an arithmetic, relational, or logical expression [operator value]'
|
||||
complete -c convert -o extent -d 'Set the image size [geometry]'
|
||||
complete -c convert -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c convert -o fft -d 'Implements the discrete Fourier transform (DFT)'
|
||||
complete -c convert -o flip -d 'Flip image vertically'
|
||||
complete -c convert -o floodfill -d 'Color floodfill the image with color [geometry]'
|
||||
complete -c convert -o flop -d 'Flop image horizontally'
|
||||
complete -c convert -o frame -d 'Surround image with an ornamental border [geometry]'
|
||||
complete -c convert -o function -d 'Apply function over image values [name parameters]' -xa '(convert -list function)'
|
||||
complete -c convert -o gamma -d 'Level of gamma correction [value]'
|
||||
complete -c convert -o gaussian-blur -d 'Reduce image noise and reduce detail levels [geometry]'
|
||||
complete -c convert -o geometry -d 'Preferred size or location of the image [geometry]'
|
||||
complete -c convert -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c convert -o ift -d 'Implements the inverse discrete Fourier transform (DFT)'
|
||||
complete -c convert -o implode -d 'Implode image pixels about the center [amount]'
|
||||
complete -c convert -o lat -d 'Local adaptive thresholding [geometry]'
|
||||
complete -c convert -o layers -d 'Optimize, merge, or compare image layers [method]' -xa '(convert -list layers)'
|
||||
complete -c convert -o level -d 'Adjust the level of image contrast [value]'
|
||||
complete -c convert -o level-colors -d 'Level image with the given colors [color,color]' -xa '(__fish_complete_list , "__fish_complete_convert_options color")'
|
||||
complete -c convert -o linear-stretch -d 'Improve contrast by `stretching with saturation\' [geometry]'
|
||||
complete -c convert -o liquid-rescale -d 'Rescale image with seam-carving [geometry]'
|
||||
complete -c convert -o median -d 'Apply a median filter to the image [geometry]'
|
||||
complete -c convert -o mode -d 'Make each pixel the \'predominant color\' of the neighborhood [geometry]'
|
||||
complete -c convert -o modulate -d 'Vary the brightness, saturation, and hue [value]'
|
||||
complete -c convert -o monochrome -d 'Transform image to black and white'
|
||||
complete -c convert -o morphology -d 'Apply a morphology method to the image [method kernel]' -xa '(convert -list morphology)'
|
||||
complete -c convert -o motion-blur -d 'Simulate motion blur [geometry]'
|
||||
complete -c convert -o negate -d 'Replace every pixel with its complementary color '
|
||||
complete -c convert -o noise -d 'Add or reduce noise in an image [geometry]'
|
||||
complete -c convert -o normalize -d 'Transform image to span the full range of colors'
|
||||
complete -c convert -o opaque -d 'Change this color to the fill color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o ordered-dither -d 'Add a noise pattern to the image with specific amplitudes [NxN]'
|
||||
complete -c convert -o paint -d 'Simulate an oil painting [radius]'
|
||||
complete -c convert -o polaroid -d 'Simulate a Polaroid picture [angle]'
|
||||
complete -c convert -o posterize -d 'Reduce the image to a limited number of color levels [levels]'
|
||||
complete -c convert -o profile -d 'Add, delete, or apply an image profile [filename]' -r
|
||||
complete -c convert -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(convert -list colorspace)'
|
||||
complete -c convert -o radial-blur -d 'Radial blur the image [angle]'
|
||||
complete -c convert -o raise -d 'Lighten/darken image edges to create a 3-D effect [value]'
|
||||
complete -c convert -o random-threshold -d 'Random threshold the image [low,high]'
|
||||
complete -c convert -o region -d 'Apply options to a portion of the image [geometry]'
|
||||
complete -c convert -o render -d 'Render vector graphics'
|
||||
complete -c convert -o repage -d 'Size and location of an image canvas [geometry]'
|
||||
complete -c convert -o resample -d 'Change the resolution of an image [geometry]'
|
||||
complete -c convert -o resize -d 'Resize the image [geometry]'
|
||||
complete -c convert -o roll -d 'Roll an image vertically or horizontally [geometry]'
|
||||
complete -c convert -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c convert -o sample -d 'Scale image with pixel sampling [geometry]'
|
||||
complete -c convert -o scale -d 'Scale the image [geometry]'
|
||||
complete -c convert -o segment -d 'Segment an image [values]'
|
||||
complete -c convert -o selective-blur -d 'Selectively blur pixels within a contrast threshold [geometry]'
|
||||
complete -c convert -o sepia-tone -d 'Simulate a sepia-toned photo [threshold]'
|
||||
complete -c convert -o set -d 'Set an image property [property value]'
|
||||
complete -c convert -o shade -d 'Shade the image using a distant light source [degrees]'
|
||||
complete -c convert -o shadow -d 'Simulate an image shadow [geometry]'
|
||||
complete -c convert -o sharpen -d 'Sharpen the image [geometry]'
|
||||
complete -c convert -o shave -d 'Shave pixels from the image edges [geometry]'
|
||||
complete -c convert -o shear -d 'Slide one edge of the image along the X or Y axis [geometry]'
|
||||
complete -c convert -o sigmoidal-contrast -d 'Increase the contrast without saturating highlights or shadows [geometry]'
|
||||
complete -c convert -o sketch -d 'Simulate a pencil sketch [geometry]'
|
||||
complete -c convert -o solarize -d 'Negate all pixels above the threshold level [threshold]'
|
||||
complete -c convert -o sparse-color -d 'Args fill in a image based on a few color points [method]' -xa '(convert -list sparse-color)'
|
||||
complete -c convert -o splice -d 'Splice the background color into the image [geometry]'
|
||||
complete -c convert -o spread -d 'Displace image pixels by a random amount [radius]'
|
||||
complete -c convert -o statistic -d 'Replace each pixel with corresponding statistic from the neighborhood [type geometry]' -xa '(convert -list statistic)'
|
||||
complete -c convert -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c convert -o swirl -d 'Swirl image pixels about the center [degrees]'
|
||||
complete -c convert -o threshold -d 'Threshold the image [value]'
|
||||
complete -c convert -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c convert -o tile -d 'Tile image when filling a graphic primitive [filename]' -r
|
||||
complete -c convert -o tint -d 'Tint the image with the fill color [value]'
|
||||
complete -c convert -o transform -d 'Affine transform image'
|
||||
complete -c convert -o transparent -d 'Make this color transparent within the image [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c convert -o transpose -d 'Flip image vertically and rotate 90 degrees'
|
||||
complete -c convert -o transverse -d 'Flop image horizontally and rotate 270 degrees'
|
||||
complete -c convert -o trim -d 'Trim image edges'
|
||||
complete -c convert -o type -d 'Image type [type]' -xa '(convert -list type)'
|
||||
complete -c convert -o unique-colors -d 'Discard all but one of any pixel color'
|
||||
complete -c convert -o unsharp -d 'Sharpen the image [geometry]'
|
||||
complete -c convert -o vignette -d 'Soften the edges of the image in vignette style [geometry]'
|
||||
complete -c convert -o wave -d 'Alter an image along a sine wave [geometry]'
|
||||
complete -c convert -o white-threshold -d 'Force all pixels above the threshold into white [value]'
|
||||
complete -c convert -o append -d 'Append an image sequence'
|
||||
complete -c convert -o clut -d 'Apply a color lookup table to the image'
|
||||
complete -c convert -o coalesce -d 'Merge a sequence of images'
|
||||
complete -c convert -o combine -d 'Combine a sequence of images'
|
||||
complete -c convert -o composite -d 'Composite image '
|
||||
complete -c convert -o crop -d 'Cut out a rectangular region of the image [geometry]'
|
||||
complete -c convert -o deconstruct -d 'Break down an image sequence into constituent parts'
|
||||
complete -c convert -o evaluate-sequence -d 'Evaluate an arithmetic, relational, or logical expression [operator]'
|
||||
complete -c convert -o flatten -d 'Flatten a sequence of images'
|
||||
complete -c convert -o fx -d 'Apply mathematical expression to an image channel(s) [expression]'
|
||||
complete -c convert -o hald-clut -d 'Apply a Hald color lookup table to the image'
|
||||
complete -c convert -o morph -d 'Morph an image sequence [value]'
|
||||
complete -c convert -o mosaic -d 'Create a mosaic from an image sequence'
|
||||
complete -c convert -o print -d 'Interpret string and print to console [string]'
|
||||
complete -c convert -o process -d 'Process the image with a custom image filter [arguments]' -xa '(convert -list filter)'
|
||||
complete -c convert -o separate -d 'Separate an image channel into a grayscale image'
|
||||
complete -c convert -o smush -d 'Smush an image sequence together [geometry]'
|
||||
complete -c convert -o write -d 'Write images to this file [filename]' -r
|
||||
complete -c convert -o clone -d 'Clone an image [indexes]'
|
||||
complete -c convert -o delete -d 'Delete the image from the image sequence [indexes]'
|
||||
complete -c convert -o duplicate -d 'Duplicate an image one or more times [count,indexes]'
|
||||
complete -c convert -o insert -d 'Insert last image into the image sequence [index]'
|
||||
complete -c convert -o reverse -d 'Reverse image sequence'
|
||||
complete -c convert -o swap -d 'Swap two images in the image sequence [indexes]'
|
||||
complete -c convert -o debug -d 'Display copious debugging information [events]' -xa '(convert -list debug)'
|
||||
complete -c convert -o help -d 'Print program options'
|
||||
complete -c convert -o list -d 'Print a list of supported option arguments [type]' -xa '(convert -list list)'
|
||||
complete -c convert -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c convert -o version -d 'Print version information'
|
||||
complete -c convert -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c convert -o origin -d 'Image origin [geometry]'
|
||||
complete -c convert -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
complete -c convert -o affinity -d 'Transform image colors to match this set of colors [filename]' -r
|
||||
|
|
|
@ -1,76 +1,76 @@
|
|||
if cp --version 2>/dev/null > /dev/null # GNU cp
|
||||
complete -c cp -s a -l archive -d "Same as -dpR"
|
||||
complete -c cp -s b -l backup -d "Make backup of each existing destination file" -a "none off numbered t existing nil simple never"
|
||||
complete -c cp -l copy-contents -d "Copy contents of special files when recursive"
|
||||
complete -c cp -s d -d "Same as --no-dereference --preserve=link"
|
||||
complete -c cp -s f -l force -d "Do not prompt before overwriting"
|
||||
complete -c cp -s i -l interactive -d "Prompt before overwrite"
|
||||
complete -c cp -s H -d "Follow command-line symbolic links"
|
||||
complete -c cp -s l -l link -d "Link files instead of copying"
|
||||
complete -c cp -l strip-trailing-slashes -d "Remove trailing slashes from source"
|
||||
complete -c cp -s S -l suffix -r -d "Backup suffix"
|
||||
complete -c cp -s t -l target-directory -d "Target directory" -x -a "(__fish_complete_directories (commandline -ct) 'Target directory')"
|
||||
complete -c cp -s u -l update -d "Do not overwrite newer files"
|
||||
complete -c cp -s v -l verbose -d "Verbose mode"
|
||||
complete -c cp -l help -d "Display help and exit"
|
||||
complete -c cp -l version -d "Display version and exit"
|
||||
complete -c cp -s L -l dereference -d "Always follow symbolic links"
|
||||
complete -c cp -s P -l no-dereference -d "Never follow symbolic links"
|
||||
complete -c cp -s p -d "Same as --preserve=mode,ownership,timestamps"
|
||||
complete -c cp -f -l preserve -d "Preserve ATTRIBUTES if possible" -xa "mode ownership timestamps links all"
|
||||
complete -c cp -f -l no-preserve -r -d "Don't preserve ATTRIBUTES" -xa "mode ownership timestamps links all"
|
||||
complete -c cp -l parents -d "Use full source file name under DIRECTORY"
|
||||
complete -c cp -s r -s R -l recursive -d "Copy directories recursively"
|
||||
complete -c cp -l remove-destination -d "First remove existing destination files"
|
||||
complete -c cp -f -l sparse -r -d "Control creation of sparse files" -xa "always auto never"
|
||||
complete -c cp -s s -l symbolic-link -d "Make symbolic links instead of copying"
|
||||
complete -c cp -s T -l no-target-directory -d "Treat DEST as a normal file"
|
||||
complete -c cp -s x -l one-file-system -d "Stay on this file system"
|
||||
complete -c cp -s X -l context -r -d "Set SELinux context of copy to CONTEXT"
|
||||
if cp --version 2>/dev/null >/dev/null # GNU cp
|
||||
complete -c cp -s a -l archive -d "Same as -dpR"
|
||||
complete -c cp -s b -l backup -d "Make backup of each existing destination file" -a "none off numbered t existing nil simple never"
|
||||
complete -c cp -l copy-contents -d "Copy contents of special files when recursive"
|
||||
complete -c cp -s d -d "Same as --no-dereference --preserve=link"
|
||||
complete -c cp -s f -l force -d "Do not prompt before overwriting"
|
||||
complete -c cp -s i -l interactive -d "Prompt before overwrite"
|
||||
complete -c cp -s H -d "Follow command-line symbolic links"
|
||||
complete -c cp -s l -l link -d "Link files instead of copying"
|
||||
complete -c cp -l strip-trailing-slashes -d "Remove trailing slashes from source"
|
||||
complete -c cp -s S -l suffix -r -d "Backup suffix"
|
||||
complete -c cp -s t -l target-directory -d "Target directory" -x -a "(__fish_complete_directories (commandline -ct) 'Target directory')"
|
||||
complete -c cp -s u -l update -d "Do not overwrite newer files"
|
||||
complete -c cp -s v -l verbose -d "Verbose mode"
|
||||
complete -c cp -l help -d "Display help and exit"
|
||||
complete -c cp -l version -d "Display version and exit"
|
||||
complete -c cp -s L -l dereference -d "Always follow symbolic links"
|
||||
complete -c cp -s P -l no-dereference -d "Never follow symbolic links"
|
||||
complete -c cp -s p -d "Same as --preserve=mode,ownership,timestamps"
|
||||
complete -c cp -f -l preserve -d "Preserve ATTRIBUTES if possible" -xa "mode ownership timestamps links all"
|
||||
complete -c cp -f -l no-preserve -r -d "Don't preserve ATTRIBUTES" -xa "mode ownership timestamps links all"
|
||||
complete -c cp -l parents -d "Use full source file name under DIRECTORY"
|
||||
complete -c cp -s r -s R -l recursive -d "Copy directories recursively"
|
||||
complete -c cp -l remove-destination -d "First remove existing destination files"
|
||||
complete -c cp -f -l sparse -r -d "Control creation of sparse files" -xa "always auto never"
|
||||
complete -c cp -s s -l symbolic-link -d "Make symbolic links instead of copying"
|
||||
complete -c cp -s T -l no-target-directory -d "Treat DEST as a normal file"
|
||||
complete -c cp -s x -l one-file-system -d "Stay on this file system"
|
||||
complete -c cp -s X -l context -r -d "Set SELinux context of copy to CONTEXT"
|
||||
else # BSD/macOS
|
||||
set -l uname (uname -s)
|
||||
# Solaris: cp [-R | r [H | L | P ]] [-fi ] [-p ]
|
||||
# openbsd: cp [-R | [H | L | P ]] [-fi ] [-pv ]
|
||||
# macos: cp [-R | [H | L | P ]] [-fin] [-pva cX ] # -c: clone -X: copy xattrs
|
||||
# netbsd: cp [-R | [H | L | P ]] [-fi ] [-pval N] # -l: hard link instead of copy -N: don't copy file flags
|
||||
# dragonfly: cp [-R | [H | L | P ]] [-fin] [-pvalx ] # -x: don't traverse mount points
|
||||
# freebsd: cp [-R | [H | L | P ]] [-fin] [-pvalxs ] # -s: symlink instead of copy
|
||||
if [ "$uname" = SunOS ] # annoying
|
||||
complete -c cp -s r -d "Copy directories recursively"
|
||||
complete -c cp -s R -d "Like -r, but replicating pipes instead of reading pipes"
|
||||
else
|
||||
complete -c cp -s R -d "Copy directories recursively"
|
||||
end
|
||||
complete -c cp -s H -d "-R: Follow symlink arguments"
|
||||
complete -c cp -s L -d "-R: Follow all symlinks"
|
||||
complete -c cp -s P -d "-R: Don't follow symlinks (default)"
|
||||
set -l uname (uname -s)
|
||||
# Solaris: cp [-R | r [H | L | P ]] [-fi ] [-p ]
|
||||
# openbsd: cp [-R | [H | L | P ]] [-fi ] [-pv ]
|
||||
# macos: cp [-R | [H | L | P ]] [-fin] [-pva cX ] # -c: clone -X: copy xattrs
|
||||
# netbsd: cp [-R | [H | L | P ]] [-fi ] [-pval N] # -l: hard link instead of copy -N: don't copy file flags
|
||||
# dragonfly: cp [-R | [H | L | P ]] [-fin] [-pvalx ] # -x: don't traverse mount points
|
||||
# freebsd: cp [-R | [H | L | P ]] [-fin] [-pvalxs ] # -s: symlink instead of copy
|
||||
if [ "$uname" = SunOS ] # annoying
|
||||
complete -c cp -s r -d "Copy directories recursively"
|
||||
complete -c cp -s R -d "Like -r, but replicating pipes instead of reading pipes"
|
||||
else
|
||||
complete -c cp -s R -d "Copy directories recursively"
|
||||
end
|
||||
complete -c cp -s H -d "-R: Follow symlink arguments"
|
||||
complete -c cp -s L -d "-R: Follow all symlinks"
|
||||
complete -c cp -s P -d "-R: Don't follow symlinks (default)"
|
||||
|
||||
complete -c cp -s f -d "Don't confirm to overwrite"
|
||||
complete -c cp -s i -d "Prompt before overwrite"
|
||||
not contains "$uname" SunOS OpenBSD NetBSD
|
||||
and complete -c cp -s n -d "Don't overwrite existing"
|
||||
complete -c cp -s f -d "Don't confirm to overwrite"
|
||||
complete -c cp -s i -d "Prompt before overwrite"
|
||||
not contains "$uname" SunOS OpenBSD NetBSD
|
||||
and complete -c cp -s n -d "Don't overwrite existing"
|
||||
|
||||
complete -c cp -s p -d "Preserve attributes of source"
|
||||
if [ "$uname" = SunOS ]
|
||||
exit 0
|
||||
end
|
||||
complete -c cp -s v -d "Print filenames as they're copied"
|
||||
if [ "$uname" = OpenBSD ]
|
||||
exit 0
|
||||
end
|
||||
complete -c cp -s a -d "Archive mode (-pPR)"
|
||||
if [ "$uname" = Darwin ]
|
||||
complete -c cp -s c -d "Clone using clonefile(2)"
|
||||
complete -c cp -s X -d "Omit xattrs, resource forks"
|
||||
exit 0
|
||||
end
|
||||
complete -c cp -s l -d "Hard link instead of copying"
|
||||
if [ "$uname" = NetBSD ]
|
||||
complete -c cp -s N -d "Don't copy file flags"
|
||||
exit 0
|
||||
end
|
||||
complete -c cp -s x -d "Don't traverse mount points"
|
||||
if [ "$uname" = FreeBSD ]
|
||||
complete -c cp -s s -d "Symlink instead of copying"
|
||||
end
|
||||
complete -c cp -s p -d "Preserve attributes of source"
|
||||
if [ "$uname" = SunOS ]
|
||||
exit 0
|
||||
end
|
||||
complete -c cp -s v -d "Print filenames as they're copied"
|
||||
if [ "$uname" = OpenBSD ]
|
||||
exit 0
|
||||
end
|
||||
complete -c cp -s a -d "Archive mode (-pPR)"
|
||||
if [ "$uname" = Darwin ]
|
||||
complete -c cp -s c -d "Clone using clonefile(2)"
|
||||
complete -c cp -s X -d "Omit xattrs, resource forks"
|
||||
exit 0
|
||||
end
|
||||
complete -c cp -s l -d "Hard link instead of copying"
|
||||
if [ "$uname" = NetBSD ]
|
||||
complete -c cp -s N -d "Don't copy file flags"
|
||||
exit 0
|
||||
end
|
||||
complete -c cp -s x -d "Don't traverse mount points"
|
||||
if [ "$uname" = FreeBSD ]
|
||||
complete -c cp -s s -d "Symlink instead of copying"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
|
||||
# Options
|
||||
complete -c cygport -s 4 -l 32 -d "Build for 32-bit Cygwin"
|
||||
complete -c cygport -s 8 -l 64 -d "Build for 64-bit Cygwin"
|
||||
complete -c cygport -l debug -d "Enable debugging messages"
|
||||
complete -c cygport -s 4 -l 32 -d "Build for 32-bit Cygwin"
|
||||
complete -c cygport -s 8 -l 64 -d "Build for 64-bit Cygwin"
|
||||
complete -c cygport -l debug -d "Enable debugging messages"
|
||||
|
||||
# Cygport file
|
||||
complete -c cygport -n '__fish_is_first_token' -f -a '*.cygport' -d "Cygport file"
|
||||
|
||||
# Commands
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'downloadall fetchall wgetall getall' -d "Download all sources"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'download fetch wget get' -d "Download missing sources"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'prep unpack' -d "Prepare source directory"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'compile build make' -d "Build software"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'check test' -d "Run test suite"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'inst install' -d "Install into DESTDIR and run post-installation steps"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'postinst' -d "Run post-installation steps"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'list' -d "List package files"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'listdebug listdbg' -d "List debug package files"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'dep' -d "Show dependencies"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'info' -d "Show packaging info"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'homepage web www' -d "Show project homepage URL"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'package-test pkg-test' -d "Create packages, marked as test"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'package pkg' -d "Create packages"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'diff mkdiff mkpatch' -d "Create source patches"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'upload up' -d "Upload finished packages"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'stage' -d "Upload packages without marking !ready"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'announce' -d "Send announcement email"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'clean finish' -d "Delete working directory"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'almostall all' -d "Same as prep build inst pkg"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'help' -d "Show help"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'version' -d "Show version"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'download fetch wget get' -d "Download missing sources"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'prep unpack' -d "Prepare source directory"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'compile build make' -d "Build software"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'check test' -d "Run test suite"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'inst install' -d "Install into DESTDIR and run post-installation steps"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'postinst' -d "Run post-installation steps"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'list' -d "List package files"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'listdebug listdbg' -d "List debug package files"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'dep' -d "Show dependencies"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'info' -d "Show packaging info"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'homepage web www' -d "Show project homepage URL"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'package-test pkg-test' -d "Create packages, marked as test"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'package pkg' -d "Create packages"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'diff mkdiff mkpatch' -d "Create source patches"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'upload up' -d "Upload finished packages"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'stage' -d "Upload packages without marking !ready"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'announce' -d "Send announcement email"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'clean finish' -d "Delete working directory"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'almostall all' -d "Same as prep build inst pkg"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'help' -d "Show help"
|
||||
complete -c cygport -n 'not __fish_is_first_token' -f -a 'version' -d "Show version"
|
||||
|
|
|
@ -41,35 +41,35 @@ complete -c darcs -n '__fish_use_subcommand' -x -a repair -d 'Repair a corrupted
|
|||
complete -c darcs -n '__fish_use_subcommand' -x -a convert -d 'Convert repositories between various formats'
|
||||
|
||||
function __fish_darcs_use_show_command
|
||||
set -l cmd (commandline -poc)
|
||||
set -e cmd[1]
|
||||
set -l cmd (commandline -poc)
|
||||
set -e cmd[1]
|
||||
|
||||
if contains 'show' $cmd
|
||||
for i in $cmd
|
||||
switch $i
|
||||
case contents
|
||||
return 1
|
||||
case dependencies
|
||||
return 1
|
||||
case files
|
||||
return 1
|
||||
case index
|
||||
return 1
|
||||
case pristine
|
||||
return 1
|
||||
case repo
|
||||
return 1
|
||||
case authors
|
||||
return 1
|
||||
case tags
|
||||
return 1
|
||||
case patch-index
|
||||
return 1
|
||||
end
|
||||
if contains 'show' $cmd
|
||||
for i in $cmd
|
||||
switch $i
|
||||
case contents
|
||||
return 1
|
||||
case dependencies
|
||||
return 1
|
||||
case files
|
||||
return 1
|
||||
case index
|
||||
return 1
|
||||
case pristine
|
||||
return 1
|
||||
case repo
|
||||
return 1
|
||||
case authors
|
||||
return 1
|
||||
case tags
|
||||
return 1
|
||||
case patch-index
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
end
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -c darcs -n '__fish_darcs_use_show_command' -x -a contents -d 'Outputs a specific version of a file'
|
||||
|
@ -83,39 +83,39 @@ complete -c darcs -n '__fish_darcs_use_show_command' -x -a tags -d 'Show all tag
|
|||
complete -c darcs -n '__fish_darcs_use_show_command' -x -a patch-index -d 'Check integrity of patch index'
|
||||
|
||||
function __fish_darcs_use_optimize_command
|
||||
set -l cmd (commandline -poc)
|
||||
set -e cmd[1]
|
||||
set -l cmd (commandline -poc)
|
||||
set -e cmd[1]
|
||||
|
||||
if contains 'optimize' $cmd
|
||||
for i in $cmd
|
||||
switch $i
|
||||
case clean
|
||||
return 1
|
||||
case http
|
||||
return 1
|
||||
case reorder
|
||||
return 1
|
||||
case enable-patch-index
|
||||
return 1
|
||||
case disable-patch-index
|
||||
return 1
|
||||
case compress
|
||||
return 1
|
||||
case uncompress
|
||||
return 1
|
||||
case relink
|
||||
return 1
|
||||
case pristine
|
||||
return 1
|
||||
case upgrade
|
||||
return 1
|
||||
case cache
|
||||
return 1
|
||||
end
|
||||
if contains 'optimize' $cmd
|
||||
for i in $cmd
|
||||
switch $i
|
||||
case clean
|
||||
return 1
|
||||
case http
|
||||
return 1
|
||||
case reorder
|
||||
return 1
|
||||
case enable-patch-index
|
||||
return 1
|
||||
case disable-patch-index
|
||||
return 1
|
||||
case compress
|
||||
return 1
|
||||
case uncompress
|
||||
return 1
|
||||
case relink
|
||||
return 1
|
||||
case pristine
|
||||
return 1
|
||||
case upgrade
|
||||
return 1
|
||||
case cache
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
end
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -c darcs -n '__fish_darcs_use_optimize_command' -x -a clean -d 'Garbage collect pristine, inventories and patches'
|
||||
|
@ -132,23 +132,23 @@ complete -c darcs -n '__fish_darcs_use_optimize_command' -x -a cache -d 'Garbage
|
|||
|
||||
|
||||
function __fish_darcs_use_convert_command
|
||||
set -l cmd (commandline -poc)
|
||||
set -e cmd[1]
|
||||
set -l cmd (commandline -poc)
|
||||
set -e cmd[1]
|
||||
|
||||
if contains 'convert' $cmd
|
||||
for i in $cmd
|
||||
switch $i
|
||||
case darcs-2
|
||||
return 1
|
||||
case export
|
||||
return 1
|
||||
case import
|
||||
return 1
|
||||
end
|
||||
if contains 'convert' $cmd
|
||||
for i in $cmd
|
||||
switch $i
|
||||
case darcs-2
|
||||
return 1
|
||||
case export
|
||||
return 1
|
||||
case import
|
||||
return 1
|
||||
end
|
||||
end
|
||||
return 0
|
||||
end
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -c darcs -l 'help' -d 'Show a brief description of the command and its options'
|
||||
|
|
|
@ -1,41 +1,41 @@
|
|||
complete -c date -f -d "display or set date and time"
|
||||
if date --version > /dev/null 2>/dev/null
|
||||
complete -c date -s d -l date -d "Display date described by string" -x
|
||||
complete -c date -s f -l file -d "Display date for each line in file" -r
|
||||
complete -c date -s I -l iso-8601 -d "Output in ISO-8601 format" -x -a "date hours minutes seconds"
|
||||
complete -c date -s s -l set -d "Set time" -x
|
||||
complete -c date -s R -l rfc-2822 -d "Output RFC-2822 date string"
|
||||
complete -c date -s r -l reference -d "Display last modification time of file" -r
|
||||
complete -c date -s u -l utc -d "Print/set UTC time" -f
|
||||
complete -c date -l universal -d "Print/set UTC time" -f
|
||||
complete -c date -s h -l help -d "Display help and exit" -f
|
||||
complete -c date -s v -l version -d "Display version and exit" -f
|
||||
if date --version >/dev/null 2>/dev/null
|
||||
complete -c date -s d -l date -d "Display date described by string" -x
|
||||
complete -c date -s f -l file -d "Display date for each line in file" -r
|
||||
complete -c date -s I -l iso-8601 -d "Output in ISO-8601 format" -x -a "date hours minutes seconds"
|
||||
complete -c date -s s -l set -d "Set time" -x
|
||||
complete -c date -s R -l rfc-2822 -d "Output RFC-2822 date string"
|
||||
complete -c date -s r -l reference -d "Display last modification time of file" -r
|
||||
complete -c date -s u -l utc -d "Print/set UTC time" -f
|
||||
complete -c date -l universal -d "Print/set UTC time" -f
|
||||
complete -c date -s h -l help -d "Display help and exit" -f
|
||||
complete -c date -s v -l version -d "Display version and exit" -f
|
||||
else
|
||||
complete -c date -s u -d 'Display or set UTC time' -f
|
||||
complete -c date -s j -d "Don't actually set the clock" -f
|
||||
complete -c date -s d -d "Set system's value for DST" -x
|
||||
complete -c date -s u -d 'Display or set UTC time' -f
|
||||
complete -c date -s j -d "Don't actually set the clock" -f
|
||||
complete -c date -s d -d "Set system's value for DST" -x
|
||||
|
||||
set -l uname (uname -s)
|
||||
set -l uname (uname -s)
|
||||
|
||||
test "$uname" != OpenBSD
|
||||
and complete -c date -s n -d 'Set clock for local machine only' -f
|
||||
test "$uname" != OpenBSD
|
||||
and complete -c date -s n -d 'Set clock for local machine only' -f
|
||||
|
||||
switch $uname
|
||||
case FreeBSD Darwin DragonFly
|
||||
# only -u is actually POSIX. Rest are BSD extensions:
|
||||
complete -c date -s r -d "Show file mtime, or format seconds" -r
|
||||
complete -c date -s v -d 'Adjust clock +/- by time specified' -f
|
||||
case NetBSD OpenBSD
|
||||
complete -c date -s a -d "Change clock slowly with adjtime" -x
|
||||
complete -c date -s r -d "Show date given seconds since epoch" -x
|
||||
if test "$uname" = NetBSD
|
||||
complete -c date -s d -d "Parse human-described date-time and show result" -x
|
||||
exit
|
||||
end
|
||||
complete -c date -s z -d "Specify timezone for output" -x
|
||||
end
|
||||
|
||||
complete -c date -s t -d "Set system's minutes west of GMT" -x
|
||||
complete -c date -s f -d 'Use format string to parse date' -f
|
||||
switch $uname
|
||||
case FreeBSD Darwin DragonFly
|
||||
# only -u is actually POSIX. Rest are BSD extensions:
|
||||
complete -c date -s r -d "Show file mtime, or format seconds" -r
|
||||
complete -c date -s v -d 'Adjust clock +/- by time specified' -f
|
||||
case NetBSD OpenBSD
|
||||
complete -c date -s a -d "Change clock slowly with adjtime" -x
|
||||
complete -c date -s r -d "Show date given seconds since epoch" -x
|
||||
if test "$uname" = NetBSD
|
||||
complete -c date -s d -d "Parse human-described date-time and show result" -x
|
||||
exit
|
||||
end
|
||||
complete -c date -s z -d "Specify timezone for output" -x
|
||||
end
|
||||
|
||||
complete -c date -s t -d "Set system's minutes west of GMT" -x
|
||||
complete -c date -s f -d 'Use format string to parse date' -f
|
||||
end
|
||||
|
||||
|
|
|
@ -18,21 +18,21 @@ __fish_gnu_complete -c df -s t -l type -r -d "Show file systems of specified typ
|
|||
|
||||
if test -n "$is_gnu"
|
||||
|
||||
complete -c df -s a -l all -d "Include empty file systems"
|
||||
complete -c df -s B -l block-size -r -d "Block size"
|
||||
complete -c df -s H -l si -d "Human readable sizes, powers of 1000"
|
||||
complete -c df -l no-sync -d "Do not sync before getting usage info"
|
||||
complete -c df -l sync -d "Sync before getting usage info"
|
||||
complete -c df -s T -l print-type -d "Print file system type"
|
||||
complete -c df -s x -l exclude-type -d "Excluded file system type" -r -x -a "(__fish_print_filesystems)"
|
||||
complete -c df -l help -d "Display help and exit"
|
||||
complete -c df -l version -d "Display version and exit"
|
||||
complete -c df -s a -l all -d "Include empty file systems"
|
||||
complete -c df -s B -l block-size -r -d "Block size"
|
||||
complete -c df -s H -l si -d "Human readable sizes, powers of 1000"
|
||||
complete -c df -l no-sync -d "Do not sync before getting usage info"
|
||||
complete -c df -l sync -d "Sync before getting usage info"
|
||||
complete -c df -s T -l print-type -d "Print file system type"
|
||||
complete -c df -s x -l exclude-type -d "Excluded file system type" -r -x -a "(__fish_print_filesystems)"
|
||||
complete -c df -l help -d "Display help and exit"
|
||||
complete -c df -l version -d "Display version and exit"
|
||||
|
||||
else
|
||||
|
||||
complete -c df -s a -d "Show all file systems"
|
||||
complete -c df -s g -d "Show sizes in gigabytes"
|
||||
complete -c df -s m -d "Show sizes in megabytes"
|
||||
complete -c df -s n -d "Print out the previously obtained statistics from the file systems"
|
||||
complete -c df -s a -d "Show all file systems"
|
||||
complete -c df -s g -d "Show sizes in gigabytes"
|
||||
complete -c df -s m -d "Show sizes in megabytes"
|
||||
complete -c df -s n -d "Print out the previously obtained statistics from the file systems"
|
||||
|
||||
end
|
||||
|
|
|
@ -5,11 +5,13 @@
|
|||
#############
|
||||
|
||||
function __fish_diskutil_devices
|
||||
set -l mountpoints /dev/disk*; printf '%s\n' $mountpoints
|
||||
set -l mountpoints /dev/disk*
|
||||
printf '%s\n' $mountpoints
|
||||
end
|
||||
|
||||
function __fish_diskutil_mounted_volumes
|
||||
set -l mountpoints /Volumes/*; printf '%s\n' $mountpoints
|
||||
set -l mountpoints /Volumes/*
|
||||
printf '%s\n' $mountpoints
|
||||
end
|
||||
|
||||
function __fish_diskutil_using_not_subcommand
|
||||
|
|
|
@ -1,97 +1,97 @@
|
|||
complete -c display -o alpha -d 'On, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape [option]' -xa '(display -list alpha)'
|
||||
complete -c display -o antialias -d 'Remove pixel-aliasing '
|
||||
complete -c display -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c display -o backdrop -d 'Display image centered on a backdrop'
|
||||
complete -c display -o channel -d 'Apply option to select image channels [type]' -xa '(display -list channel)'
|
||||
complete -c display -o colormap -d 'Shared or Private [type]' -x
|
||||
complete -c display -o colorspace -d 'Alternate image colorspace [type]' -xa '(display -list colorspace)'
|
||||
complete -c display -o comment -d 'Annotate image with comment [string]'
|
||||
complete -c display -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(display -list compress)'
|
||||
complete -c display -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c display -o delay -d 'Display the next image after pausing [value]'
|
||||
complete -c display -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c display -o depth -d 'Image depth [value]'
|
||||
complete -c display -o display -d 'Display image to this X server [server]'
|
||||
complete -c display -o dispose -d 'Layer disposal method [method]' -xa '(display -list dispose)'
|
||||
complete -c display -o dither -d 'Apply error diffusion to image [method]' -xa '(display -list dither)'
|
||||
complete -c display -o endian -d 'Endianness (MSB or LSB) of the image [type]' -xa '(display -list endian)'
|
||||
complete -c display -o filter -d 'Use this filter when resizing an image [type]' -xa '(display -list filter)'
|
||||
complete -c display -o format -d 'Output formatted image characteristics [string]'
|
||||
complete -c display -o geometry -d 'Preferred size and location of the Image window [geometry]'
|
||||
complete -c display -o gravity -d 'Horizontal and vertical backdrop placement [type]' -xa '(display -list gravity)'
|
||||
complete -c display -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c display -o immutable -d 'Displayed image cannot be modified'
|
||||
complete -c display -o interlace -d 'Type of image interlacing scheme [type]' -xa '(display -list interlace)'
|
||||
complete -c display -o interpolate -d 'Pixel color interpolation method [method]' -xa '(display -list interpolate)'
|
||||
complete -c display -o label -d 'Assign a label to an image [string]'
|
||||
complete -c display -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c display -o loop -d 'Loop images then exit [iterations]'
|
||||
complete -c display -o map -d 'Display image using this Standard Colormap [type]' -x
|
||||
complete -c display -o monitor -d 'Monitor progress '
|
||||
complete -c display -o page -d 'Size and location of an image canvas [geometry]'
|
||||
complete -c display -o profile -d 'Add, delete, or apply an image profile [filename]' -r
|
||||
complete -c display -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c display -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(display -list colorspace)'
|
||||
complete -c display -o quiet -d 'Suppress all warning messages'
|
||||
complete -c display -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c display -o remote -d 'Command execute a command in an remote display process'
|
||||
complete -c display -o repage -d 'Size and location of an image canvas (operator) [geometry]'
|
||||
complete -c display -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c display -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c display -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c display -o set -d 'Set an image property [property value]'
|
||||
complete -c display -o size -d 'Width and height of image [geometry]'
|
||||
complete -c display -o texture -d 'Name of texture to tile onto the image background [filename]' -r
|
||||
complete -c display -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c display -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c display -o update -d 'Seconds detect when image file is modified and redisplay'
|
||||
complete -c display -o verbose -d 'Print detailed information about the image'
|
||||
complete -c display -o visual -d 'Display image using this visual type [type]' -x
|
||||
complete -c display -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(display -list virtual-pixel)'
|
||||
complete -c display -o window -d 'Display image to background of this window [id]' -xa 'root (__fish_print_xwindows)'
|
||||
complete -c display -o window-group -d 'Exit program when this window id is destroyed [id]'
|
||||
complete -c display -o write -d 'Write image to a file [filename]' -r
|
||||
complete -c display -o auto-orient -d 'Automagically orient image'
|
||||
complete -c display -o border -d 'Surround image with a border of color [geometry]'
|
||||
complete -c display -o clip -d 'Clip along the first path from the 8BIM profile'
|
||||
complete -c display -o clip-path -d 'Clip along a named path from the 8BIM profile [id]'
|
||||
complete -c display -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c display -o contrast -d 'Enhance or reduce the image contrast'
|
||||
complete -c display -o crop -d 'Preferred size and location of the cropped image [geometry]'
|
||||
complete -c display -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c display -o deskew -d 'Straighten an image [threshold]'
|
||||
complete -c display -o despeckle -d 'Reduce the speckles within an image'
|
||||
complete -c display -o edge -d 'Apply a filter to detect edges in the image [factor]'
|
||||
complete -c display -o enhance -d 'Apply a digital filter to enhance a noisy image'
|
||||
complete -c display -o equalize -d 'Perform histogram equalization to an image'
|
||||
complete -c display -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c display -o flip -d 'Flip image in the vertical direction'
|
||||
complete -c display -o flop -d 'Flop image in the horizontal direction'
|
||||
complete -c display -o frame -d 'Surround image with an ornamental border [geometry]'
|
||||
complete -c display -o fuzz -d 'Colors within this distance are considered equal [distance]'
|
||||
complete -c display -o gamma -d 'Level of gamma correction [value]'
|
||||
complete -c display -o monochrome -d 'Transform image to black and white'
|
||||
complete -c display -o negate -d 'Replace every pixel with its complementary color'
|
||||
complete -c display -o normalize -d 'Transform image to span the full range of colors'
|
||||
complete -c display -o raise -d 'Lighten/darken image edges to create a 3-D effect [value]'
|
||||
complete -c display -o resample -d 'Change the resolution of an image [geometry]'
|
||||
complete -c display -o resize -d 'Resize the image [geometry]'
|
||||
complete -c display -o roll -d 'Roll an image vertically or horizontally [geometry]'
|
||||
complete -c display -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c display -o sample -d 'Scale image with pixel sampling [geometry]'
|
||||
complete -c display -o segment -d 'Segment an image [value]'
|
||||
complete -c display -o sharpen -d 'Sharpen the image [geometry]'
|
||||
complete -c display -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c display -o threshold -d 'Threshold the image [value]'
|
||||
complete -c display -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c display -o trim -d 'Trim image edges'
|
||||
complete -c display -o coalesce -d 'Merge a sequence of images'
|
||||
complete -c display -o flatten -d 'Flatten a sequence of images'
|
||||
complete -c display -o debug -d 'Display copious debugging information [events]' -xa '(display -list debug)'
|
||||
complete -c display -o help -d 'Print program options'
|
||||
complete -c display -o list -d 'Print a list of supported option arguments [type]' -xa '(display -list list)'
|
||||
complete -c display -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c display -o version -d 'Print version information'
|
||||
complete -c display -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c display -o scenes -d 'Range image scene range'
|
||||
complete -c display -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
complete -c display -o alpha -d 'On, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape [option]' -xa '(display -list alpha)'
|
||||
complete -c display -o antialias -d 'Remove pixel-aliasing '
|
||||
complete -c display -o authenticate -d 'Decipher image with this password [password]'
|
||||
complete -c display -o backdrop -d 'Display image centered on a backdrop'
|
||||
complete -c display -o channel -d 'Apply option to select image channels [type]' -xa '(display -list channel)'
|
||||
complete -c display -o colormap -d 'Shared or Private [type]' -x
|
||||
complete -c display -o colorspace -d 'Alternate image colorspace [type]' -xa '(display -list colorspace)'
|
||||
complete -c display -o comment -d 'Annotate image with comment [string]'
|
||||
complete -c display -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(display -list compress)'
|
||||
complete -c display -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c display -o delay -d 'Display the next image after pausing [value]'
|
||||
complete -c display -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c display -o depth -d 'Image depth [value]'
|
||||
complete -c display -o display -d 'Display image to this X server [server]'
|
||||
complete -c display -o dispose -d 'Layer disposal method [method]' -xa '(display -list dispose)'
|
||||
complete -c display -o dither -d 'Apply error diffusion to image [method]' -xa '(display -list dither)'
|
||||
complete -c display -o endian -d 'Endianness (MSB or LSB) of the image [type]' -xa '(display -list endian)'
|
||||
complete -c display -o filter -d 'Use this filter when resizing an image [type]' -xa '(display -list filter)'
|
||||
complete -c display -o format -d 'Output formatted image characteristics [string]'
|
||||
complete -c display -o geometry -d 'Preferred size and location of the Image window [geometry]'
|
||||
complete -c display -o gravity -d 'Horizontal and vertical backdrop placement [type]' -xa '(display -list gravity)'
|
||||
complete -c display -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c display -o immutable -d 'Displayed image cannot be modified'
|
||||
complete -c display -o interlace -d 'Type of image interlacing scheme [type]' -xa '(display -list interlace)'
|
||||
complete -c display -o interpolate -d 'Pixel color interpolation method [method]' -xa '(display -list interpolate)'
|
||||
complete -c display -o label -d 'Assign a label to an image [string]'
|
||||
complete -c display -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c display -o loop -d 'Loop images then exit [iterations]'
|
||||
complete -c display -o map -d 'Display image using this Standard Colormap [type]' -x
|
||||
complete -c display -o monitor -d 'Monitor progress '
|
||||
complete -c display -o page -d 'Size and location of an image canvas [geometry]'
|
||||
complete -c display -o profile -d 'Add, delete, or apply an image profile [filename]' -r
|
||||
complete -c display -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c display -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(display -list colorspace)'
|
||||
complete -c display -o quiet -d 'Suppress all warning messages'
|
||||
complete -c display -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c display -o remote -d 'Command execute a command in an remote display process'
|
||||
complete -c display -o repage -d 'Size and location of an image canvas (operator) [geometry]'
|
||||
complete -c display -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c display -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c display -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c display -o set -d 'Set an image property [property value]'
|
||||
complete -c display -o size -d 'Width and height of image [geometry]'
|
||||
complete -c display -o texture -d 'Name of texture to tile onto the image background [filename]' -r
|
||||
complete -c display -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c display -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c display -o update -d 'Seconds detect when image file is modified and redisplay'
|
||||
complete -c display -o verbose -d 'Print detailed information about the image'
|
||||
complete -c display -o visual -d 'Display image using this visual type [type]' -x
|
||||
complete -c display -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(display -list virtual-pixel)'
|
||||
complete -c display -o window -d 'Display image to background of this window [id]' -xa 'root (__fish_print_xwindows)'
|
||||
complete -c display -o window-group -d 'Exit program when this window id is destroyed [id]'
|
||||
complete -c display -o write -d 'Write image to a file [filename]' -r
|
||||
complete -c display -o auto-orient -d 'Automagically orient image'
|
||||
complete -c display -o border -d 'Surround image with a border of color [geometry]'
|
||||
complete -c display -o clip -d 'Clip along the first path from the 8BIM profile'
|
||||
complete -c display -o clip-path -d 'Clip along a named path from the 8BIM profile [id]'
|
||||
complete -c display -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c display -o contrast -d 'Enhance or reduce the image contrast'
|
||||
complete -c display -o crop -d 'Preferred size and location of the cropped image [geometry]'
|
||||
complete -c display -o decipher -d 'Convert cipher pixels to plain pixels [filename]' -r
|
||||
complete -c display -o deskew -d 'Straighten an image [threshold]'
|
||||
complete -c display -o despeckle -d 'Reduce the speckles within an image'
|
||||
complete -c display -o edge -d 'Apply a filter to detect edges in the image [factor]'
|
||||
complete -c display -o enhance -d 'Apply a digital filter to enhance a noisy image'
|
||||
complete -c display -o equalize -d 'Perform histogram equalization to an image'
|
||||
complete -c display -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c display -o flip -d 'Flip image in the vertical direction'
|
||||
complete -c display -o flop -d 'Flop image in the horizontal direction'
|
||||
complete -c display -o frame -d 'Surround image with an ornamental border [geometry]'
|
||||
complete -c display -o fuzz -d 'Colors within this distance are considered equal [distance]'
|
||||
complete -c display -o gamma -d 'Level of gamma correction [value]'
|
||||
complete -c display -o monochrome -d 'Transform image to black and white'
|
||||
complete -c display -o negate -d 'Replace every pixel with its complementary color'
|
||||
complete -c display -o normalize -d 'Transform image to span the full range of colors'
|
||||
complete -c display -o raise -d 'Lighten/darken image edges to create a 3-D effect [value]'
|
||||
complete -c display -o resample -d 'Change the resolution of an image [geometry]'
|
||||
complete -c display -o resize -d 'Resize the image [geometry]'
|
||||
complete -c display -o roll -d 'Roll an image vertically or horizontally [geometry]'
|
||||
complete -c display -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c display -o sample -d 'Scale image with pixel sampling [geometry]'
|
||||
complete -c display -o segment -d 'Segment an image [value]'
|
||||
complete -c display -o sharpen -d 'Sharpen the image [geometry]'
|
||||
complete -c display -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c display -o threshold -d 'Threshold the image [value]'
|
||||
complete -c display -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c display -o trim -d 'Trim image edges'
|
||||
complete -c display -o coalesce -d 'Merge a sequence of images'
|
||||
complete -c display -o flatten -d 'Flatten a sequence of images'
|
||||
complete -c display -o debug -d 'Display copious debugging information [events]' -xa '(display -list debug)'
|
||||
complete -c display -o help -d 'Print program options'
|
||||
complete -c display -o list -d 'Print a list of supported option arguments [type]' -xa '(display -list list)'
|
||||
complete -c display -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c display -o version -d 'Print version information'
|
||||
complete -c display -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c display -o scenes -d 'Range image scene range'
|
||||
complete -c display -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
complete -c dlocate -s S -x -d 'List records that match filenames'
|
||||
complete -c dlocate -s L -d 'List all files in the package' -xa '(__fish_print_packages)'
|
||||
complete -c dlocate -s S -x -d 'List records that match filenames'
|
||||
complete -c dlocate -s L -d 'List all files in the package' -xa '(__fish_print_packages)'
|
||||
complete -c dlocate -o ls -d 'ls -ldF all files in the package' -xa '(__fish_print_packages)'
|
||||
complete -c dlocate -o du -d 'du -sck all files in the package' -xa '(__fish_print_packages)'
|
||||
|
||||
|
|
|
@ -1,51 +1,51 @@
|
|||
complete -c dmesg -f -d 'Display system message buffer'
|
||||
|
||||
switch (uname -s)
|
||||
#
|
||||
# Solaris
|
||||
#
|
||||
case SunOS
|
||||
exit 1 # no options, we are done
|
||||
#
|
||||
# Loonix dmesg
|
||||
#
|
||||
case Linux
|
||||
set -l levels '( __fish_complete_list , "echo emerg\nalert\ncrit\nerr\nwarn\nnotice\ninfo\ndebug" )'
|
||||
complete -c dmesg -s C -l clear -f -d'Clear kernel ring buffer'
|
||||
complete -c dmesg -s c -l read-clear -f -d'Read & clear all msgs'
|
||||
complete -c dmesg -s D -l console-off -f -d'Disable writing to console'
|
||||
complete -c dmesg -s d -l show-delta -f -d'Show timestamp deltas'
|
||||
complete -c dmesg -s E -l console-on -f -d'Enable writing to console'
|
||||
complete -c dmesg -s F -l file -r -d'Use file instead of log buffer'
|
||||
complete -c dmesg -s f -l facility -x -d'Only print for given facilities' -a '( __fish_complete_list , "echo kern\nuser\nmail\ndaemon\nauth\nsyslog\nlpr\nnews" )'
|
||||
complete -c dmesg -s h -l help -f -d'Display help'
|
||||
complete -c dmesg -s k -l kernel -f -d'Print kernel messages'
|
||||
complete -c dmesg -s l -l level -x -d'Restrict output to given levels' -a $levels
|
||||
complete -c dmesg -s n -l console-level -x -d'Adjust threshold to print to console' -a $levels
|
||||
complete -c dmesg -s r -l raw -f -d'Print raw message buffer'
|
||||
complete -c dmesg -s s -l buffer-size -x -d'Buffer size to query kernel'
|
||||
complete -c dmesg -s T -l ctime -f -d'Human-readable timestamps'
|
||||
complete -c dmesg -s t -l notime -f -d'Don\'t print timestamps'
|
||||
complete -c dmesg -s u -l userspace -f -d'Print userspace messages'
|
||||
complete -c dmesg -s V -l version -f -d'Show dmesg version'
|
||||
complete -c dmesg -s x -l decode -f -d'Decode facility & level numbers'
|
||||
exit 0 # done
|
||||
#
|
||||
# unique options specific BSDs have
|
||||
#
|
||||
case NetBSD
|
||||
complete -c dmesg -s d -f -d'show timestamp deltas'
|
||||
complete -c dmesg -s T -f -d'human-readable timestamps'
|
||||
complete -c dmesg -s t -f -d'don\'t print timestamps'
|
||||
case OpenBSD
|
||||
complete -c dmesg -s S -f -d'display console message buffer-size'
|
||||
case FreeBSD DragonFly
|
||||
complete -c dmesg -s a -f -d'print all data in the message buffer'
|
||||
complete -c dmesg -s c -f -d'clear kernel buffer after printing'
|
||||
#
|
||||
# Solaris
|
||||
#
|
||||
case SunOS
|
||||
exit 1 # no options, we are done
|
||||
#
|
||||
# Loonix dmesg
|
||||
#
|
||||
case Linux
|
||||
set -l levels '( __fish_complete_list , "echo emerg\nalert\ncrit\nerr\nwarn\nnotice\ninfo\ndebug" )'
|
||||
complete -c dmesg -s C -l clear -f -d'Clear kernel ring buffer'
|
||||
complete -c dmesg -s c -l read-clear -f -d'Read & clear all msgs'
|
||||
complete -c dmesg -s D -l console-off -f -d'Disable writing to console'
|
||||
complete -c dmesg -s d -l show-delta -f -d'Show timestamp deltas'
|
||||
complete -c dmesg -s E -l console-on -f -d'Enable writing to console'
|
||||
complete -c dmesg -s F -l file -r -d'Use file instead of log buffer'
|
||||
complete -c dmesg -s f -l facility -x -d'Only print for given facilities' -a '( __fish_complete_list , "echo kern\nuser\nmail\ndaemon\nauth\nsyslog\nlpr\nnews" )'
|
||||
complete -c dmesg -s h -l help -f -d'Display help'
|
||||
complete -c dmesg -s k -l kernel -f -d'Print kernel messages'
|
||||
complete -c dmesg -s l -l level -x -d'Restrict output to given levels' -a $levels
|
||||
complete -c dmesg -s n -l console-level -x -d'Adjust threshold to print to console' -a $levels
|
||||
complete -c dmesg -s r -l raw -f -d'Print raw message buffer'
|
||||
complete -c dmesg -s s -l buffer-size -x -d'Buffer size to query kernel'
|
||||
complete -c dmesg -s T -l ctime -f -d'Human-readable timestamps'
|
||||
complete -c dmesg -s t -l notime -f -d'Don\'t print timestamps'
|
||||
complete -c dmesg -s u -l userspace -f -d'Print userspace messages'
|
||||
complete -c dmesg -s V -l version -f -d'Show dmesg version'
|
||||
complete -c dmesg -s x -l decode -f -d'Decode facility & level numbers'
|
||||
exit 0 # done
|
||||
#
|
||||
# unique options specific BSDs have
|
||||
#
|
||||
case NetBSD
|
||||
complete -c dmesg -s d -f -d'show timestamp deltas'
|
||||
complete -c dmesg -s T -f -d'human-readable timestamps'
|
||||
complete -c dmesg -s t -f -d'don\'t print timestamps'
|
||||
case OpenBSD
|
||||
complete -c dmesg -s S -f -d'display console message buffer-size'
|
||||
case FreeBSD DragonFly
|
||||
complete -c dmesg -s a -f -d'print all data in the message buffer'
|
||||
complete -c dmesg -s c -f -d'clear kernel buffer after printing'
|
||||
end
|
||||
|
||||
#
|
||||
# common BSD dmesg options (macOS only does these two)
|
||||
#
|
||||
complete -c dmesg -s M -r -d'get namelist values from given core'
|
||||
complete -c dmesg -s N -r -d'get namelist from given kernel'
|
||||
complete -c dmesg -s M -r -d'get namelist values from given core'
|
||||
complete -c dmesg -s N -r -d'get namelist from given kernel'
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
complete -f -c dpkg-reconfigure -a '(__fish_print_packages)' -d 'Package'
|
||||
|
||||
# Support flags
|
||||
complete -x -f -c dpkg-reconfigure -s h -l help -d 'Display help'
|
||||
complete -x -f -c dpkg-reconfigure -s h -l help -d 'Display help'
|
||||
|
||||
# General options
|
||||
complete -f -c dpkg-reconfigure -s f -l frontend -r -a "dialog readline noninteractive gnome kde editor web" -d 'Set configuration frontend'
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
|
||||
complete -c dpkg -s i -l install -d 'Install .deb package' -xa '(__fish_complete_suffix .deb)'
|
||||
complete -c dpkg -l unpack -d 'Unpack .deb package' -xa '(__fish_complete_suffix .deb)'
|
||||
complete -c dpkg -l configure -d 'Configure package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s r -l remove -d 'Remove package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s P -l purge -d 'Purge package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s V -l verify -d 'Verify contents of package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -l force-all -d 'Continue on all problems'
|
||||
complete -c dpkg -s i -l install -d 'Install .deb package' -xa '(__fish_complete_suffix .deb)'
|
||||
complete -c dpkg -l unpack -d 'Unpack .deb package' -xa '(__fish_complete_suffix .deb)'
|
||||
complete -c dpkg -l configure -d 'Configure package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s r -l remove -d 'Remove package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s P -l purge -d 'Purge package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s V -l verify -d 'Verify contents of package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -l force-all -d 'Continue on all problems'
|
||||
|
||||
# dpkg-deb options
|
||||
complete -c dpkg -s b -l build -d 'Build package from directory' -xa '(__fish_complete_directories (commandline -ct))'
|
||||
complete -c dpkg -s c -l contents -d 'List contents of .deb' -xa '(__fish_complete_suffix .deb)'
|
||||
complete -c dpkg -s I -l info -d 'Show .deb information' -xa '(__fish_complete_suffix .deb)'
|
||||
complete -c dpkg -s b -l build -d 'Build package from directory' -xa '(__fish_complete_directories (commandline -ct))'
|
||||
complete -c dpkg -s c -l contents -d 'List contents of .deb' -xa '(__fish_complete_suffix .deb)'
|
||||
complete -c dpkg -s I -l info -d 'Show .deb information' -xa '(__fish_complete_suffix .deb)'
|
||||
|
||||
# dpkg-query options
|
||||
complete -c dpkg -s l -l list -d 'List packages matching pattern' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s L -l listfiles -d 'List contents of packages' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s s -l status -d 'Print status of package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s S -l search -d 'Search for packages containing file'
|
||||
complete -c dpkg -s l -l list -d 'List packages matching pattern' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s L -l listfiles -d 'List contents of packages' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s s -l status -d 'Print status of package' -xa '(dpkg-query -W -f \'${Package}\n\')'
|
||||
complete -c dpkg -s S -l search -d 'Search for packages containing file'
|
||||
|
|
|
@ -4,24 +4,24 @@ complete --command duply --no-files --condition '__fish_is_first_token' --argume
|
|||
complete --command duply --no-files --arguments 'usage' -d 'Get usage help text'
|
||||
|
||||
# Second parameter is a duply command
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'create' -d 'Creates a configuration profile'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'backup' -d 'Backup with pre/post script execution'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'bkp' -d 'Backup without executing pre/post scripts'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'pre' -d 'Execute <profile>/pre script'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'post' -d 'Execute <profile>/post script'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'full' -d 'Force full backup'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'incr' -d 'Force incremental backup'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'list' -d 'List all files in backup (as it was at <age>, default: now)'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'status' -d 'Prints backup sets and chains currently in repository'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'verify' -d 'List files changed since latest backup'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'purge' -d 'Shows outdated backup archives [--force, delete these files]'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'create' -d 'Creates a configuration profile'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'backup' -d 'Backup with pre/post script execution'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'bkp' -d 'Backup without executing pre/post scripts'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'pre' -d 'Execute <profile>/pre script'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'post' -d 'Execute <profile>/post script'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'full' -d 'Force full backup'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'incr' -d 'Force incremental backup'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'list' -d 'List all files in backup (as it was at <age>, default: now)'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'status' -d 'Prints backup sets and chains currently in repository'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'verify' -d 'List files changed since latest backup'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'purge' -d 'Shows outdated backup archives [--force, delete these files]'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'purge-full' -d 'Shows outdated backups [--force, delete these files]'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'cleanup' -d 'Shows broken backup archives [--force, delete these files]'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'restore' -d 'Restore the backup to <target_path> [as it was at <age>]'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'fetch' -d 'Restore single file/folder from backup [as it was at <age>]'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'cleanup' -d 'Shows broken backup archives [--force, delete these files]'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'restore' -d 'Restore the backup to <target_path> [as it was at <age>]'
|
||||
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'fetch' -d 'Restore single file/folder from backup [as it was at <age>]'
|
||||
|
||||
# Options
|
||||
complete --command duply --no-files --long-option force -d 'Really execute the commands: purge, purge-full, cleanup'
|
||||
complete --command duply --no-files --long-option force -d 'Really execute the commands: purge, purge-full, cleanup'
|
||||
complete --command duply --no-files --long-option preview -d 'Do nothing but print out generated duplicity command lines'
|
||||
complete --command duply --no-files --long-option dry-run -d 'Calculate what would be done, but don''t perform any actions'
|
||||
complete --command duply --no-files --long-option allow-source-mismatch -d 'Don''t abort when backup different dirs to the same backend'
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
function __fish_seen_ebuild_arg -d "Test if an ebuild-argument has been given in the current commandline"
|
||||
commandline -opc | string match -q '*.ebuild'
|
||||
commandline -opc | string match -q '*.ebuild'
|
||||
end
|
||||
|
||||
## Opts
|
||||
complete -c ebuild -l debug -d "Run bash with the -x option"
|
||||
complete -c ebuild -l color -d "Enable color" \
|
||||
-xa "y n"
|
||||
complete -c ebuild -l force -d "Force regeneration of digests"
|
||||
complete -c ebuild -l debug -d "Run bash with the -x option"
|
||||
complete -c ebuild -l color -d "Enable color" \
|
||||
-xa "y n"
|
||||
complete -c ebuild -l force -d "Force regeneration of digests"
|
||||
complete -c ebuild -l ignore-default-opts -d "Ignore EBUILD_DEFAULT_OPTS"
|
||||
complete -c ebuild -l skip-manifest -d "Skip all manifest checks"
|
||||
complete -c ebuild -l skip-manifest -d "Skip all manifest checks"
|
||||
|
||||
## Subcommands
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'help' -d "Show help"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'pretend' -d "Run pkg_pretend()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'setup' -d "Run setup and system checks"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'clean' -d "Clean build dir"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'fetch' -d "Fetches all files from SRC_URI"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'help' -d "Show help"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'pretend' -d "Run pkg_pretend()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'setup' -d "Run setup and system checks"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'clean' -d "Clean build dir"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'fetch' -d "Fetches all files from SRC_URI"
|
||||
#complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'digest' -d "Deprecared: see manifest"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'manifest' -d "Update pkg manifest"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'unpack' -d "Extracts sources"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'prepare' -d "Run src_prepare()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'configure' -d "Run src_configure()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'compile' -d "Run src_compile()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'test' -d "Run tests"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'preinst' -d "Run pkg_preinst()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'install' -d "Run src_install()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'postinst' -d "Run pkg_postinst()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'qmerge' -d "Install files to live filesystem"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'merge' -d "Run fetch, unpack, compile, install and qmerge"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'unmerge' -d "Uninstall files from live filesystem"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'prerm' -d "Run pkg_prerm()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'postrm' -d "Run pkg_postrm()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'config' -d "Run post-install configuration"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'package' -d "Create a binpkg in PKGDIR"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'rpm' -d "Builds a RedHat RPM pkg"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'manifest' -d "Update pkg manifest"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'unpack' -d "Extracts sources"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'prepare' -d "Run src_prepare()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'configure' -d "Run src_configure()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'compile' -d "Run src_compile()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'test' -d "Run tests"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'preinst' -d "Run pkg_preinst()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'install' -d "Run src_install()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'postinst' -d "Run pkg_postinst()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'qmerge' -d "Install files to live filesystem"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'merge' -d "Run fetch, unpack, compile, install and qmerge"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'unmerge' -d "Uninstall files from live filesystem"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'prerm' -d "Run pkg_prerm()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'postrm' -d "Run pkg_postrm()"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'config' -d "Run post-install configuration"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'package' -d "Create a binpkg in PKGDIR"
|
||||
complete -c ebuild -n '__fish_seen_ebuild_arg' -xa 'rpm' -d "Builds a RedHat RPM pkg"
|
||||
|
|
|
@ -43,7 +43,7 @@ complete -c eix -s 2 -l slots -d "Match packages with two different slots"
|
|||
complete -c eix -s u -l update -d "Match packages without best slotted version"
|
||||
complete -c eix -s o -l overlay -d "Match packages from overlays"
|
||||
complete -c eix -s T -l test-obsolete -d "Match packages with obsolete entries"
|
||||
complete -c eix -s '!' -l not -d "Invert the expression (toggle)"
|
||||
complete -c eix -s ! -l not -d "Invert the expression (toggle)"
|
||||
complete -c eix -s '|' -l pipe -d "Use input from pipe of emerge -pv"
|
||||
###
|
||||
# Search Fields
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
complete -f -c elixir -s v -d "Prints version and exit"
|
||||
complete -f -c elixir -s e -d "Evaluates the given command"
|
||||
complete -c elixir -s r -d "Requires the given files/patterns"
|
||||
complete -c elixir -s S -d "Finds and executes the given script"
|
||||
complete -c elixir -s pr -d "Requires the given files/patterns in parallel"
|
||||
complete -c elixir -s pa -d "Prepends the given path to Erlang code path"
|
||||
complete -c elixir -s pz -d "Appends the given path to Erlang code path"
|
||||
complete -c elixir -l app -d "Start the given app and its dependencies"
|
||||
complete -f -c elixir -l erl -d "Switches to be passed down to erlang"
|
||||
complete -f -c elixir -l name -d "Makes and assigns a name to the distributed node"
|
||||
complete -f -c elixir -l sname -d "Makes and assigns a short name to the distributed node"
|
||||
complete -f -c elixir -l cookie -d "Sets a cookie for this distributed node"
|
||||
complete -f -c elixir -l hidden -d "Makes a hidden node"
|
||||
complete -f -c elixir -s v -d "Prints version and exit"
|
||||
complete -f -c elixir -s e -d "Evaluates the given command"
|
||||
complete -c elixir -s r -d "Requires the given files/patterns"
|
||||
complete -c elixir -s S -d "Finds and executes the given script"
|
||||
complete -c elixir -s pr -d "Requires the given files/patterns in parallel"
|
||||
complete -c elixir -s pa -d "Prepends the given path to Erlang code path"
|
||||
complete -c elixir -s pz -d "Appends the given path to Erlang code path"
|
||||
complete -c elixir -l app -d "Start the given app and its dependencies"
|
||||
complete -f -c elixir -l erl -d "Switches to be passed down to erlang"
|
||||
complete -f -c elixir -l name -d "Makes and assigns a name to the distributed node"
|
||||
complete -f -c elixir -l sname -d "Makes and assigns a short name to the distributed node"
|
||||
complete -f -c elixir -l cookie -d "Sets a cookie for this distributed node"
|
||||
complete -f -c elixir -l hidden -d "Makes a hidden node"
|
||||
complete -f -c elixir -l detached -d "Starts the Erlang VM detached from console"
|
||||
complete -f -c elixir -l no-halt -d "Does not halt the Erlang VM after execution"
|
||||
complete -f -c elixir -l no-halt -d "Does not halt the Erlang VM after execution"
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
## Global Opts
|
||||
complete -c emaint -s h -l help -d "Show this help message and exit"
|
||||
complete -c emaint -s c -l check -d "Check for problems"
|
||||
complete -c emaint -l version -d "Show program's version number and exit"
|
||||
complete -c emaint -s f -l fix -d "Attempt to fix problems"
|
||||
complete -c emaint -s P -l purge -d "Remove the list of failed merges"
|
||||
complete -c emaint -s h -l help -d "Show this help message and exit"
|
||||
complete -c emaint -s c -l check -d "Check for problems"
|
||||
complete -c emaint -l version -d "Show program's version number and exit"
|
||||
complete -c emaint -s f -l fix -d "Attempt to fix problems"
|
||||
complete -c emaint -s P -l purge -d "Remove the list of failed merges"
|
||||
|
||||
## Subcommands
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'all' -d 'Perform all supported commands'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'binhost' -d 'Scan and generate metadata indexes for binary pkgs'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'all' -d 'Perform all supported commands'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'binhost' -d 'Scan and generate metadata indexes for binary pkgs'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'cleanconfmem' -d 'Check and clean the config tracker list for uninstalled pkgs'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'cleanresume' -d 'Discard emerge --resume merge lists'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'logs' -d 'Check and clean old logs in the PORT_LOGDIR'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'merges' -d 'Scan for failed merges and fix them'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'movebin' -d 'Perform pkg move updates for binary pkgs'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'moveinst' -d 'Perform pkg move updates for installed and binary pkgs'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'sync' -d 'Check repos.conf settings and sync repositories'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'world' -d 'Check and fix problems in the world file'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'logs' -d 'Check and clean old logs in the PORT_LOGDIR'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'merges' -d 'Scan for failed merges and fix them'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'movebin' -d 'Perform pkg move updates for binary pkgs'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'moveinst' -d 'Perform pkg move updates for installed and binary pkgs'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'sync' -d 'Check repos.conf settings and sync repositories'
|
||||
complete -c emaint -n '__fish_use_subcommand' -xa 'world' -d 'Check and fix problems in the world file'
|
||||
|
||||
## Local opts
|
||||
# logs
|
||||
complete -c emaint -n '__fish_seen_subcommand_from logs' -s t -l time -d "Delete logs older than NUM days" \
|
||||
-xa "(seq 0 365)"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from logs' -s p -l pretend -d "Output logs that would be deleted"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from logs' -s C -l clean -d "Cleans out logs more than 7 days old"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from logs' -s t -l time -d "Delete logs older than NUM days" \
|
||||
-xa "(seq 0 365)"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from logs' -s p -l pretend -d "Output logs that would be deleted"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from logs' -s C -l clean -d "Cleans out logs more than 7 days old"
|
||||
# sync
|
||||
complete -c emaint -n '__fish_seen_subcommand_from sync' -s a -l auto -d "Sync auto-sync enabled repos only"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from sync' -s A -l allrepos -d "Sync all repos that have a sync-url defined"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from sync' -s r -l repo -d "Sync the specified repo" \
|
||||
-xa "(__fish_portage_print_repository_names)"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from sync' -l sync-submodule -d "Restrict sync to the specified submodule(s)" \
|
||||
-xa "glsa news profiles"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from sync' -s a -l auto -d "Sync auto-sync enabled repos only"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from sync' -s A -l allrepos -d "Sync all repos that have a sync-url defined"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from sync' -s r -l repo -d "Sync the specified repo" \
|
||||
-xa "(__fish_portage_print_repository_names)"
|
||||
complete -c emaint -n '__fish_seen_subcommand_from sync' -l sync-submodule -d "Restrict sync to the specified submodule(s)" \
|
||||
-xa "glsa news profiles"
|
||||
|
|
|
@ -13,40 +13,40 @@
|
|||
#end
|
||||
|
||||
function __fish_emerge_print_sets
|
||||
for s in '@'(emerge --list-sets)
|
||||
switch $s
|
||||
case @profile
|
||||
printf '%s\t%s\n' $s 'set of packages deemed necessary for your system to run properly'
|
||||
case @selected-packages
|
||||
printf '%s\t%s\n' $s 'packages listed in /var/lib/portage/world'
|
||||
case @selected-sets
|
||||
printf '%s\t%s\n' $s 'sets listed in /var/lib/portage/world_sets'
|
||||
case @selected
|
||||
printf '%s\t%s\n' $s 'encompasses both the selected-packages and selected-sets sets'
|
||||
case @system
|
||||
printf '%s\t%s\n' $s 'set of packages deemed necessary for your system to run properly'
|
||||
case @world
|
||||
printf '%s\t%s\n' $s 'encompasses the selected, system and profile sets'
|
||||
case '*'
|
||||
echo $s
|
||||
end
|
||||
end
|
||||
for s in '@'(emerge --list-sets)
|
||||
switch $s
|
||||
case @profile
|
||||
printf '%s\t%s\n' $s 'set of packages deemed necessary for your system to run properly'
|
||||
case @selected-packages
|
||||
printf '%s\t%s\n' $s 'packages listed in /var/lib/portage/world'
|
||||
case @selected-sets
|
||||
printf '%s\t%s\n' $s 'sets listed in /var/lib/portage/world_sets'
|
||||
case @selected
|
||||
printf '%s\t%s\n' $s 'encompasses both the selected-packages and selected-sets sets'
|
||||
case @system
|
||||
printf '%s\t%s\n' $s 'set of packages deemed necessary for your system to run properly'
|
||||
case @world
|
||||
printf '%s\t%s\n' $s 'encompasses the selected, system and profile sets'
|
||||
case '*'
|
||||
echo $s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# TODO <ebuild|tbz2file|file|@set|atom>...
|
||||
function __fish_emerge_possible_args
|
||||
if __fish_contains_opt check-news -s h help list-sets metadata regen -s r resume \
|
||||
-s s search -s S searchdesc sync -s V version
|
||||
return
|
||||
# TODO deselect=y
|
||||
else if __fish_contains_opt config -s c depclean info -s P prune -s C unmerge
|
||||
__fish_emerge_print_sets
|
||||
__fish_portage_print_installed_pkgs
|
||||
# TODO deselect=n
|
||||
else
|
||||
__fish_emerge_print_sets
|
||||
__fish_portage_print_available_pkgs
|
||||
end
|
||||
if __fish_contains_opt check-news -s h help list-sets metadata regen -s r resume \
|
||||
-s s search -s S searchdesc sync -s V version
|
||||
return
|
||||
# TODO deselect=y
|
||||
else if __fish_contains_opt config -s c depclean info -s P prune -s C unmerge
|
||||
__fish_emerge_print_sets
|
||||
__fish_portage_print_installed_pkgs
|
||||
# TODO deselect=n
|
||||
else
|
||||
__fish_emerge_print_sets
|
||||
__fish_portage_print_available_pkgs
|
||||
end
|
||||
end
|
||||
|
||||
complete -c emerge -xa "(__fish_emerge_possible_args)"
|
||||
|
@ -54,30 +54,30 @@ complete -c emerge -xa "(__fish_emerge_possible_args)"
|
|||
#########################
|
||||
# Actions #
|
||||
#########################
|
||||
complete -c emerge -l check-news
|
||||
complete -c emerge -l clean
|
||||
complete -c emerge -l config
|
||||
complete -c emerge -l check-news
|
||||
complete -c emerge -l clean
|
||||
complete -c emerge -l config
|
||||
complete -c emerge -s c -l depclean
|
||||
complete -c emerge -l deselect
|
||||
complete -c emerge -l deselect
|
||||
complete -c emerge -s h -l help
|
||||
complete -c emerge -l info
|
||||
complete -c emerge -l list-sets
|
||||
complete -c emerge -l metadata
|
||||
complete -c emerge -l info
|
||||
complete -c emerge -l list-sets
|
||||
complete -c emerge -l metadata
|
||||
complete -c emerge -s P -l prune
|
||||
complete -c emerge -l regen
|
||||
complete -c emerge -l regen
|
||||
complete -c emerge -s r -l resume
|
||||
complete -c emerge -s s -l search
|
||||
complete -c emerge -s S -l searchdesc
|
||||
complete -c emerge -l sync
|
||||
complete -c emerge -l sync
|
||||
complete -c emerge -s C -l unmerge
|
||||
complete -c emerge -s V -l version
|
||||
|
||||
#########################
|
||||
# Options #
|
||||
#########################
|
||||
complete -c emerge -s A -l alert -d "Add a terminal bell character ('\a') to all interactive prompts"
|
||||
complete -c emerge -s A -l alert -d "Add a terminal bell character ('\a') to all interactive prompts"
|
||||
#complete -c emerge -l alphabetical -d "Sort flag lists alphabetically"
|
||||
complete -c emerge -s a -l ask -d "Prompt the user before peforming the merge"
|
||||
complete -c emerge -s a -l ask -d "Prompt the user before peforming the merge"
|
||||
# ask-enter-invalid
|
||||
# autounmask
|
||||
# autounmask-backtrack <yn>
|
||||
|
@ -87,58 +87,58 @@ complete -c emerge -s a -l ask -d "Prompt the user before peforming the
|
|||
# autounmask-keep-keywords
|
||||
# autounmask-keep-masks
|
||||
# autounmask-write
|
||||
complete -c emerge -l backtrack
|
||||
complete -c emerge -s b -l buildpkg -d "Build a binary pkg additionally"
|
||||
complete -c emerge -l backtrack
|
||||
complete -c emerge -s b -l buildpkg -d "Build a binary pkg additionally"
|
||||
# buildpkg-exclude
|
||||
complete -c emerge -s B -l buildpkgonly -d "Only build a binary pkg"
|
||||
# changed-deps
|
||||
complete -c emerge -s U -l changed-use
|
||||
complete -c emerge -s l -l changelog -d "Show changelog of pkg. Use with --pretend"
|
||||
complete -c emerge -l color -d "Colorized output" \
|
||||
-xa "y n"
|
||||
complete -c emerge -l columns -d "Align output. Use with --pretend"
|
||||
complete -c emerge -l complete-graph
|
||||
complete -c emerge -s l -l changelog -d "Show changelog of pkg. Use with --pretend"
|
||||
complete -c emerge -l color -d "Colorized output" \
|
||||
-xa "y n"
|
||||
complete -c emerge -l columns -d "Align output. Use with --pretend"
|
||||
complete -c emerge -l complete-graph
|
||||
# complete-graph-if-new-use <yn>
|
||||
# complete-graph-if-new-ver <yn>
|
||||
# config-root DIR
|
||||
complete -c emerge -s d -l debug -d "Run in debug mode"
|
||||
complete -c emerge -s D -l deep -d "Consider the whole dependency tree"
|
||||
complete -c emerge -s d -l debug -d "Run in debug mode"
|
||||
complete -c emerge -s D -l deep -d "Consider the whole dependency tree"
|
||||
# depclean-lib-check
|
||||
# digest
|
||||
# dynamic-deps <yn>
|
||||
complete -c emerge -s e -l emptytree -d "Reinstall all world pkgs"
|
||||
complete -c emerge -s e -l emptytree -d "Reinstall all world pkgs"
|
||||
# exclude ATOMS
|
||||
complete -c emerge -l exclude
|
||||
complete -c emerge -l exclude
|
||||
# fail-clean
|
||||
complete -c emerge -s f -l fetchonly -d "Only download the pkgs but don't install them"
|
||||
complete -c emerge -s F -l fetch-all-uri -d "Same as --fetchonly and grab all potential files"
|
||||
complete -c emerge -s f -l fetchonly -d "Only download the pkgs but don't install them"
|
||||
complete -c emerge -s F -l fetch-all-uri -d "Same as --fetchonly and grab all potential files"
|
||||
# fuzzy-search
|
||||
complete -c emerge -s g -l getbinpkg -d "Download infos from each binary pkg. Implies -k"
|
||||
complete -c emerge -s G -l getbinpkgonly -d "As -g but don't use local infos"
|
||||
complete -c emerge -l ignore-default-opts -d "Ignore EMERGE_DEFAULT_OPTS"
|
||||
complete -c emerge -s g -l getbinpkg -d "Download infos from each binary pkg. Implies -k"
|
||||
complete -c emerge -s G -l getbinpkgonly -d "As -g but don't use local infos"
|
||||
complete -c emerge -l ignore-default-opts -d "Ignore EMERGE_DEFAULT_OPTS"
|
||||
# ignore-build-slot-operator-deps <yn>
|
||||
# ignore-soname-deps <yn>
|
||||
complete -c emerge -l jobs
|
||||
complete -c emerge -l keep-going
|
||||
complete -c emerge -l jobs
|
||||
complete -c emerge -l keep-going
|
||||
# load-average
|
||||
# misspell-suggestion
|
||||
# newrepo
|
||||
complete -c emerge -s N -l newuse -d "Include installed pkgs with changed USE flags"
|
||||
complete -c emerge -l noconfmem -d "Disregard merge records"
|
||||
complete -c emerge -s O -l nodeps -d "Don't merge dependencies"
|
||||
complete -c emerge -s n -l noreplace -d "Skip already installed pkgs"
|
||||
complete -c emerge -l nospinner -d "Disable the spinner"
|
||||
complete -c emerge -s N -l newuse -d "Include installed pkgs with changed USE flags"
|
||||
complete -c emerge -l noconfmem -d "Disregard merge records"
|
||||
complete -c emerge -s O -l nodeps -d "Don't merge dependencies"
|
||||
complete -c emerge -s n -l noreplace -d "Skip already installed pkgs"
|
||||
complete -c emerge -l nospinner -d "Disable the spinner"
|
||||
# usepkg-exclude ATOMS
|
||||
# rebuild-exclude ATOMS
|
||||
# rebuild-ignore ATOMS
|
||||
complete -c emerge -s 1 -l oneshot -d "Don't add pkgs to world"
|
||||
complete -c emerge -s o -l onlydeps -d "Only merge dependencies"
|
||||
complete -c emerge -s 1 -l oneshot -d "Don't add pkgs to world"
|
||||
complete -c emerge -s o -l onlydeps -d "Only merge dependencies"
|
||||
# onlydeps-with-rdeps <yn>
|
||||
# package-moves
|
||||
# pkg-format
|
||||
# prefix DIR
|
||||
complete -c emerge -s p -l pretend -d "Display what would be done without doing it"
|
||||
complete -c emerge -s q -l quiet -d "Use a condensed output"
|
||||
complete -c emerge -s p -l pretend -d "Display what would be done without doing it"
|
||||
complete -c emerge -s q -l quiet -d "Use a condensed output"
|
||||
# quiet-build
|
||||
# quiet-fail
|
||||
# quiet-repo-display
|
||||
|
@ -158,19 +158,19 @@ complete -c emerge -s q -l quiet -d "Use a condensed output"
|
|||
# search-similarity PERCENTAGE
|
||||
complete -c emerge -s w -l select
|
||||
# selective
|
||||
complete -c emerge -l skipfirst -d "Remove first pkg in resume list. Use with --resume"
|
||||
complete -c emerge -l skipfirst -d "Remove first pkg in resume list. Use with --resume"
|
||||
# sync-module <glsa|news|profiles>
|
||||
complete -c emerge -s t -l tree -d "Show the dependency tree"
|
||||
complete -c emerge -s t -l tree -d "Show the dependency tree"
|
||||
# unordered-display
|
||||
complete -c emerge -s u -l update
|
||||
# use-ebuild-visibility
|
||||
# useoldpkg-atoms ATOMS
|
||||
complete -c emerge -s k -l usepkg -d "Use binary pkg if available"
|
||||
complete -c emerge -s K -l usepkgonly -d "Only use binary pkgs"
|
||||
complete -c emerge -s v -l verbose -d "Run in verbose mode"
|
||||
complete -c emerge -l verbose-conflicts -d "Verbose slot conflicts"
|
||||
complete -c emerge -s k -l usepkg -d "Use binary pkg if available"
|
||||
complete -c emerge -s K -l usepkgonly -d "Only use binary pkgs"
|
||||
complete -c emerge -s v -l verbose -d "Run in verbose mode"
|
||||
complete -c emerge -l verbose-conflicts -d "Verbose slot conflicts"
|
||||
# verbose-slot-rebuilds
|
||||
complete -c emerge -l with-bdeps -d "Pull in build time dependencies" \
|
||||
-xa "y n"
|
||||
complete -c emerge -l with-bdeps -d "Pull in build time dependencies" \
|
||||
-xa "y n"
|
||||
# with-bdeps-auto <yn>
|
||||
# with-test-bdeps
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
complete -c entr -s r -d 'Launches the utility at startup and reloads it if one of the source files change'
|
||||
complete -c entr -s c -d 'Clears the screen before running the utility'
|
||||
complete -c entr -s h -l help -d 'Display help and exit'
|
||||
complete -c entr -s v -l version -d 'Output version information'
|
||||
complete -c entr -x -a '(__fish_complete_subcommand)'
|
||||
complete -c entr -s r -d 'Launches the utility at startup and reloads it if one of the source files change'
|
||||
complete -c entr -s c -d 'Clears the screen before running the utility'
|
||||
complete -c entr -s h -l help -d 'Display help and exit'
|
||||
complete -c entr -s v -l version -d 'Output version information'
|
||||
complete -c entr -x -a '(__fish_complete_subcommand)'
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
complete -c epkginfo -xa "(__fish_portage_print_available_pkgs)"
|
||||
## Opts
|
||||
complete -c epkginfo -s h -l help -d "display help"
|
||||
complete -c epkginfo -s d -l description -d "extended pkg description"
|
||||
complete -c epkginfo -s H -l herd -d "herd(s) for the pkg"
|
||||
complete -c epkginfo -s k -l keywords -d "keywords for all matching pkg versions"
|
||||
complete -c epkginfo -s l -l license -d "licenses for the best maching version"
|
||||
complete -c epkginfo -s m -l maintainer -d "maintainer(s) for the pkg"
|
||||
complete -c epkginfo -s S -l stablreq -d "STABLEREQ arches (cc's) for all matching pkg versio"
|
||||
complete -c epkginfo -s u -l useflags -d "per-pkg USE flag descriptions"
|
||||
complete -c epkginfo -s U -l upstream -d "pkg's upstream information"
|
||||
complete -c epkginfo -s x -l xml -d "plain metadata.xml file"
|
||||
complete -c epkginfo -s h -l help -d "display help"
|
||||
complete -c epkginfo -s d -l description -d "extended pkg description"
|
||||
complete -c epkginfo -s H -l herd -d "herd(s) for the pkg"
|
||||
complete -c epkginfo -s k -l keywords -d "keywords for all matching pkg versions"
|
||||
complete -c epkginfo -s l -l license -d "licenses for the best maching version"
|
||||
complete -c epkginfo -s m -l maintainer -d "maintainer(s) for the pkg"
|
||||
complete -c epkginfo -s S -l stablreq -d "STABLEREQ arches (cc's) for all matching pkg versio"
|
||||
complete -c epkginfo -s u -l useflags -d "per-pkg USE flag descriptions"
|
||||
complete -c epkginfo -s U -l upstream -d "pkg's upstream information"
|
||||
complete -c epkginfo -s x -l xml -d "plain metadata.xml file"
|
||||
|
|
|
@ -1,134 +1,134 @@
|
|||
# TODO unused
|
||||
function __fish_equery_print_format
|
||||
printf "%s\t%s\n" \
|
||||
'$cp' "Category and package name (e.g 'app-portage/gentoolkit')" \
|
||||
'$cpv' "Category, package name and version (e.g. 'app-portage/gentoolkit-0.3.0_rc10-r1')" \
|
||||
'$category' "Category (e.g. 'app-portage')" \
|
||||
'$name' "Package name (e.g. 'gentoolkit')" \
|
||||
'$version' "Version (without the revision) (e.g. '0.3.0_rc10')" \
|
||||
'$revision' "Revision (e.g. 'r1')" \
|
||||
'$fullversion' "Version including revision (e.g. '0.3.0_rc10-r1')" \
|
||||
'$slot' "Slot" \
|
||||
'$repo' "Repository (e.g. 'gentoo')" \
|
||||
'$mask' "Mask-status field (~M-??)" \
|
||||
'$mask2' "Verbose description of the masking status" \
|
||||
'$location' "Location field (IPO-)"
|
||||
printf "%s\t%s\n" \
|
||||
'$cp' "Category and package name (e.g 'app-portage/gentoolkit')" \
|
||||
'$cpv' "Category, package name and version (e.g. 'app-portage/gentoolkit-0.3.0_rc10-r1')" \
|
||||
'$category' "Category (e.g. 'app-portage')" \
|
||||
'$name' "Package name (e.g. 'gentoolkit')" \
|
||||
'$version' "Version (without the revision) (e.g. '0.3.0_rc10')" \
|
||||
'$revision' "Revision (e.g. 'r1')" \
|
||||
'$fullversion' "Version including revision (e.g. '0.3.0_rc10-r1')" \
|
||||
'$slot' "Slot" \
|
||||
'$repo' "Repository (e.g. 'gentoo')" \
|
||||
'$mask' "Mask-status field (~M-??)" \
|
||||
'$mask2' "Verbose description of the masking status" \
|
||||
'$location' "Location field (IPO-)"
|
||||
end
|
||||
|
||||
## Global Opts
|
||||
complete -c equery -s h -l help -d "Displays a help message"
|
||||
complete -c equery -s q -l quiet -d "Minimal output"
|
||||
complete -c equery -s C -l no-color -d "Turns off colors"
|
||||
complete -c equery -s N -l no-pipe -d "Turns off pipe detection"
|
||||
complete -c equery -s V -l version -d "Display version information"
|
||||
complete -c equery -s h -l help -d "Displays a help message"
|
||||
complete -c equery -s q -l quiet -d "Minimal output"
|
||||
complete -c equery -s C -l no-color -d "Turns off colors"
|
||||
complete -c equery -s N -l no-pipe -d "Turns off pipe detection"
|
||||
complete -c equery -s V -l version -d "Display version information"
|
||||
|
||||
## Subcommands
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'belongs' -d "List all pkgs owning file(s)"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'changes' -d "List changelog entries for ATOM"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'check' -d "Check pkg's MD5sums and timestamps"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'depends' -d "List all pkgs depending on specified pkg"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'depgraph' -d "Display pkg's dependency tree"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'files' -d "List files owned by pkg"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'has' -d "List pkgs for matching ENVIRONMENT data"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'hasuse' -d "List pkgs with specified useflag"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'keywords' -d "Display pkg's keywords"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'list' -d "List all pkgs matching pattern"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'meta' -d "Display pkg's metadata"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'size' -d "Print size of files contained in pkg"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'uses' -d "Display pkg's USE flags"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'which' -d "Print full path to ebuild for pkg"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'belongs' -d "List all pkgs owning file(s)"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'changes' -d "List changelog entries for ATOM"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'check' -d "Check pkg's MD5sums and timestamps"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'depends' -d "List all pkgs depending on specified pkg"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'depgraph' -d "Display pkg's dependency tree"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'files' -d "List files owned by pkg"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'has' -d "List pkgs for matching ENVIRONMENT data"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'hasuse' -d "List pkgs with specified useflag"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'keywords' -d "Display pkg's keywords"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'list' -d "List all pkgs matching pattern"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'meta' -d "Display pkg's metadata"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'size' -d "Print size of files contained in pkg"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'uses' -d "Display pkg's USE flags"
|
||||
complete -c equery -n '__fish_use_subcommand' -xa 'which' -d "Print full path to ebuild for pkg"
|
||||
|
||||
## Arguments
|
||||
complete -c equery -n '__fish_seen_subcommand_from c changes d depends g depgraph y keywords m meta u uses w which' \
|
||||
-xa '(__fish_portage_print_available_pkgs)'
|
||||
-xa '(__fish_portage_print_available_pkgs)'
|
||||
complete -c equery -n '__fish_seen_subcommand_from k check f files s size' \
|
||||
-xa '(__fish_portage_print_installed_pkgs)'
|
||||
-xa '(__fish_portage_print_installed_pkgs)'
|
||||
|
||||
## Local opts
|
||||
# belongs
|
||||
complete -c equery -n '__fish_seen_subcommand_from b belongs' -s f -l full-regex -d "Query is a regex"
|
||||
complete -c equery -n '__fish_seen_subcommand_from b belongs' -s e -l early-out -d "Stop after first match"
|
||||
complete -c equery -n '__fish_seen_subcommand_from b belongs' -s n -l name-only -d "Omit version"
|
||||
complete -c equery -n '__fish_seen_subcommand_from b belongs' -s f -l full-regex -d "Query is a regex"
|
||||
complete -c equery -n '__fish_seen_subcommand_from b belongs' -s e -l early-out -d "Stop after first match"
|
||||
complete -c equery -n '__fish_seen_subcommand_from b belongs' -s n -l name-only -d "Omit version"
|
||||
|
||||
# changes
|
||||
complete -c equery -n '__fish_seen_subcommand_from c changes' -s l -l latest -d "Display only latest ChangeLog entry"
|
||||
complete -c equery -n '__fish_seen_subcommand_from c changes' -s f -l full -d "Display full ChangeLog"
|
||||
complete -c equery -n '__fish_seen_subcommand_from c changes' -l limit -d "Limit number of entries displayed (with --full)" \
|
||||
-xa "(seq 99)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from c changes' -s l -l latest -d "Display only latest ChangeLog entry"
|
||||
complete -c equery -n '__fish_seen_subcommand_from c changes' -s f -l full -d "Display full ChangeLog"
|
||||
complete -c equery -n '__fish_seen_subcommand_from c changes' -l limit -d "Limit number of entries displayed (with --full)" \
|
||||
-xa "(seq 99)"
|
||||
#complete -c equery -n '__fish_seen_subcommand_from c changes' -l from=VER -d "Set which version to display from"
|
||||
#complete -c equery -n '__fish_seen_subcommand_from c changes' -l to=VER -d "Set which version to display to"
|
||||
|
||||
# check
|
||||
complete -c equery -n '__fish_seen_subcommand_from k check' -s f -l full-regex -d "Query is a regex"
|
||||
complete -c equery -n '__fish_seen_subcommand_from k check' -s o -l only-failures -d "Only display pkgs that do not pass"
|
||||
complete -c equery -n '__fish_seen_subcommand_from k check' -s f -l full-regex -d "Query is a regex"
|
||||
complete -c equery -n '__fish_seen_subcommand_from k check' -s o -l only-failures -d "Only display pkgs that do not pass"
|
||||
|
||||
# depends
|
||||
complete -c equery -n '__fish_seen_subcommand_from d depends' -s a -l all-packages -d "Include dependencies that are not installed (slow)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from d depends' -s D -l indirect -d "Search both direct and indirect dependencies"
|
||||
complete -c equery -n '__fish_seen_subcommand_from d depends' -l depth -d "Limit indirect dependency tree to specified depth" \
|
||||
-xa "(seq 9)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from d depends' -s a -l all-packages -d "Include dependencies that are not installed (slow)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from d depends' -s D -l indirect -d "Search both direct and indirect dependencies"
|
||||
complete -c equery -n '__fish_seen_subcommand_from d depends' -l depth -d "Limit indirect dependency tree to specified depth" \
|
||||
-xa "(seq 9)"
|
||||
|
||||
# depgraph
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -s A -l no-atom -d "Don't show dependency atom"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -s M -l no-mask -d "Don't show masking status"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -s U -l no-useflags -d "Don't show USE flags"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -s l -l linear -d "Don't indent dependencies"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -l depth -d "Limit dependency graph to specified depth" \
|
||||
-xa "(seq 9)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -s A -l no-atom -d "Don't show dependency atom"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -s M -l no-mask -d "Don't show masking status"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -s U -l no-useflags -d "Don't show USE flags"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -s l -l linear -d "Don't indent dependencies"
|
||||
complete -c equery -n '__fish_seen_subcommand_from g depgraph' -l depth -d "Limit dependency graph to specified depth" \
|
||||
-xa "(seq 9)"
|
||||
|
||||
# files
|
||||
function __fish_equery_files_filter_args
|
||||
printf "%s\n" dir obj sym dev fifo path conf cmd doc man info
|
||||
printf "%s\n" dir obj sym dev fifo path conf cmd doc man info
|
||||
end
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -s m -l md5sum -d "Include MD5 sum in output"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -s s -l timestamp -d "Include timestamp in output"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -s t -l type -d "Include file type in output"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -l tree -d "Display results in a tree"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -s f -l filter -d "Filter output by file type" \
|
||||
-xa "(__fish_complete_list , __fish_equery_files_filter_args)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -s m -l md5sum -d "Include MD5 sum in output"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -s s -l timestamp -d "Include timestamp in output"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -s t -l type -d "Include file type in output"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -l tree -d "Display results in a tree"
|
||||
complete -c equery -n '__fish_seen_subcommand_from f files' -s f -l filter -d "Filter output by file type" \
|
||||
-xa "(__fish_complete_list , __fish_equery_files_filter_args)"
|
||||
|
||||
# has + hasuse
|
||||
complete -c equery -n '__fish_seen_subcommand_from a has h hasuse' -s I -l exclude-installed -d "Exclude installed pkgs from search path"
|
||||
complete -c equery -n '__fish_seen_subcommand_from a has h hasuse' -s o -l overlay-tree -d "Include overlays in search path"
|
||||
complete -c equery -n '__fish_seen_subcommand_from a has h hasuse' -s p -l portage-tree -d "Include entire portage tree in search path"
|
||||
complete -c equery -n '__fish_seen_subcommand_from a has h hasuse' -s o -l overlay-tree -d "Include overlays in search path"
|
||||
complete -c equery -n '__fish_seen_subcommand_from a has h hasuse' -s p -l portage-tree -d "Include entire portage tree in search path"
|
||||
#complete -c equery -n '__fish_seen_subcommand_from a has h hasuse' -s F -l format=TMPL -d "Specify a custom output format"
|
||||
|
||||
# keywords
|
||||
# TODO
|
||||
|
||||
# list
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s d -l duplicates -d "List only installed duplicate pkgs"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s b -l binpkgs-missing -d "List only installed pkgs without a corresponding binary pkg"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s f -l full-regex -d "Query is a regex"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s m -l mask-reason -d "Include reason for pkg mask"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s d -l duplicates -d "List only installed duplicate pkgs"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s b -l binpkgs-missing -d "List only installed pkgs without a corresponding binary pkg"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s f -l full-regex -d "Query is a regex"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s m -l mask-reason -d "Include reason for pkg mask"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s I -l exclude-installed -d "Exclude installed pkgs from output"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s o -l overlay-tree -d "List pkgs in overlays"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s p -l portage-tree -d "List pkgs in the main portage tree"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s o -l overlay-tree -d "List pkgs in overlays"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list' -s p -l portage-tree -d "List pkgs in the main portage tree"
|
||||
#complete -c equery -n '__fish_seen_subcommand_from l list' -s F -l format=TMPL -d "Specify a custom output format"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list; and not __fish_contains_opt -s p portage-tree' \
|
||||
-xa "(__fish_portage_print_installed_pkgs)"
|
||||
-xa "(__fish_portage_print_installed_pkgs)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from l list; and __fish_contains_opt -s p portage-tree' \
|
||||
-xa "(__fish_portage_print_available_pkgs)"
|
||||
-xa "(__fish_portage_print_available_pkgs)"
|
||||
|
||||
# meta
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s d -l description -d "Show extended pkg description"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s H -l herd -d "Show pkg's herd(s)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s k -l keywords -d "Show keywords for all matching pkg versions"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s l -l license -d "Show licenses for the best maching version"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s m -l maintainer -d "Show the maintainer(s) for the pkg"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s S -l stablreq -d "Show STABLEREQ arches (cc's) for all matching pkg versions"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s u -l useflags -d "Show per-pkg USE flag descriptions"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s U -l upstream -d "Show pkg's upstream information"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s x -l xml -d "Show the plain metadata.xml file"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s d -l description -d "Show extended pkg description"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s H -l herd -d "Show pkg's herd(s)"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s k -l keywords -d "Show keywords for all matching pkg versions"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s l -l license -d "Show licenses for the best maching version"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s m -l maintainer -d "Show the maintainer(s) for the pkg"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s S -l stablreq -d "Show STABLEREQ arches (cc's) for all matching pkg versions"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s u -l useflags -d "Show per-pkg USE flag descriptions"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s U -l upstream -d "Show pkg's upstream information"
|
||||
complete -c equery -n '__fish_seen_subcommand_from m meta' -s x -l xml -d "Show the plain metadata.xml file"
|
||||
|
||||
# size
|
||||
complete -c equery -n '__fish_seen_subcommand_from s size' -s b -l bytes -d "Report size in bytes"
|
||||
complete -c equery -n '__fish_seen_subcommand_from s size' -s f -l full-regex -d "Query is a regex"
|
||||
complete -c equery -n '__fish_seen_subcommand_from s size' -s b -l bytes -d "Report size in bytes"
|
||||
complete -c equery -n '__fish_seen_subcommand_from s size' -s f -l full-regex -d "Query is a regex"
|
||||
|
||||
# uses
|
||||
complete -c equery -n '__fish_seen_subcommand_from u uses' -s a -l all -d "Include all pkg versions"
|
||||
complete -c equery -n '__fish_seen_subcommand_from u uses' -s i -l ignore-l10n -d "Don't show l10n USE flags"
|
||||
complete -c equery -n '__fish_seen_subcommand_from u uses' -s a -l all -d "Include all pkg versions"
|
||||
complete -c equery -n '__fish_seen_subcommand_from u uses' -s i -l ignore-l10n -d "Don't show l10n USE flags"
|
||||
|
||||
# which
|
||||
complete -c equery -n '__fish_seen_subcommand_from w which' -s m -l include-masked -d "Return highest version ebuild available"
|
||||
complete -c equery -n '__fish_seen_subcommand_from w which' -s e -l ebuild -d "Print the ebuild"
|
||||
complete -c equery -n '__fish_seen_subcommand_from w which' -s m -l include-masked -d "Return highest version ebuild available"
|
||||
complete -c equery -n '__fish_seen_subcommand_from w which' -s e -l ebuild -d "Print the ebuild"
|
||||
|
|
|
@ -4,5 +4,5 @@ complete -c evince -s p -l page-label -d "The page of the document to display" -
|
|||
complete -c evince -s f -l fullscreen -d "Run evince in fullscreen mode"
|
||||
complete -c evince -s s -l presentation -d "Run evince in presentation mode"
|
||||
complete -c evince -s w -l preview -d "Run evince as a previewer"
|
||||
complete -c evince -l display -d "X display to use"
|
||||
complete -c evince -l display -d "X display to use"
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
function __fish_exercism_no_subcommand -d 'Test if exercism has yet to be given the subcommand'
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i demo debug configure fetch restore submit unsubmit tracks download help
|
||||
return 1
|
||||
end
|
||||
for i in (commandline -opc)
|
||||
if contains -- $i demo debug configure fetch restore submit unsubmit tracks download help
|
||||
return 1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
complete -c exercism -s c -l config -d 'path to config file [$EXERCISM_CONFIG_FILE, $XDG_CONFIG_HOME]'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
complete -c expand -s i -l initial -d 'do not convert tabs after non blanks'
|
||||
complete -c expand -s t -l tabs -x -d 'have tabs NUMBER characters apart, not 8'
|
||||
complete -c expand -s t -l tabs -x -d 'use comma separated list of explicit tab positions'
|
||||
complete -c expand -l help -d 'display this help and exit'
|
||||
complete -c expand -l version -d 'output version information and exit'
|
||||
complete -c expand -s i -l initial -d 'do not convert tabs after non blanks'
|
||||
complete -c expand -s t -l tabs -x -d 'have tabs NUMBER characters apart, not 8'
|
||||
complete -c expand -s t -l tabs -x -d 'use comma separated list of explicit tab positions'
|
||||
complete -c expand -l help -d 'display this help and exit'
|
||||
complete -c expand -l version -d 'output version information and exit'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
complete -c feh -l action -s A -x -d "Specify a shell command as action to perform on the image"
|
||||
|
||||
for i in (seq 1 9)
|
||||
complete -c feh -l action$i -x -d "Extra action triggered with number key "$i
|
||||
complete -c feh -l action$i -x -d "Extra action triggered with number key "$i
|
||||
end
|
||||
|
||||
complete -c feh -l auto-zoom -s Z -d "Zoom pictures to screen size"
|
||||
|
|
|
@ -73,7 +73,7 @@ complete -c find -o true -d "Always true"
|
|||
|
||||
set -l type_comp 'b\t"Block device" c\t"Character device" d\t"Directory" p\t"Named pipe" f\t"File" l\t"Symbolic link" s\t"Socket"'
|
||||
|
||||
complete -c find -o type -d "File is of specified type" -x -a $type_comp
|
||||
complete -c find -o type -d "File is of specified type" -x -a $type_comp
|
||||
|
||||
complete -c find -o uid -d "File's owner has specified numeric user ID" -r
|
||||
complete -c find -o used -d "File was last accessed specified number of days after its status was last changed" -r
|
||||
|
|
|
@ -1,66 +1,66 @@
|
|||
#
|
||||
# Completions for flac
|
||||
#
|
||||
complete -c flac -s v -l version -d "Show the flac version number"
|
||||
complete -c flac -s h -l help -d "Show this screen"
|
||||
complete -c flac -s H -l explain -d "Show detailed explanation of usage and options"
|
||||
complete -c flac -s d -l decode -d "Decode (the default behavior is to encode)"
|
||||
complete -c flac -s t -l test -d "Same as -d except no decoded file is written"
|
||||
complete -c flac -s a -l analyze -d "Same as -d except an analysis file is written"
|
||||
complete -c flac -s c -l stdout -d "Write output to stdout"
|
||||
complete -c flac -s s -l silent -d "Do not write runtime encode/decode statistics"
|
||||
complete -c flac -l totally-silent -d "Do not print anything including errors"
|
||||
complete -c flac -s f -l force -d "Force overwriting of output files"
|
||||
complete -c flac -r -s o -l output-name -d "Force the output file name"
|
||||
complete -c flac -l output-prefix -d "Prepend STRING to output names"
|
||||
complete -c flac -l delete-input-file -d "Deletes after a successful encode/decode"
|
||||
complete -c flac -l skip -d "Skip the given initial samples for each input {#|mm:ss.ss}"
|
||||
complete -c flac -l until -d "Stop at the given sample for each input file {#|[+|-]mm:ss.ss}"
|
||||
complete -c flac -l ogg -d "Use Ogg as transport layer"
|
||||
complete -c flac -l serial-number -d "Serial number to use for the FLAC stream"
|
||||
complete -c flac -l residual-text -d "Include residual signal in text output"
|
||||
complete -c flac -l residual-gnuplot -d "Generate gnuplot files of residual distribution"
|
||||
complete -c flac -s F -l decode-through-errors -d "Continue decoding through stream errors"
|
||||
complete -c flac -l cue -d "Set the beginning and ending cuepoints to decode [#.#][-[#.#]]"
|
||||
complete -c flac -s V -l verify -d "Verify a correct encoding"
|
||||
complete -c flac -l lax -d "Allow encoder to generate non-Subset files"
|
||||
complete -c flac -l sector-align -d "Align multiple files on sector boundaries"
|
||||
complete -c flac -l replay-gain -d "Calculate ReplayGain & store in Vorbis comments"
|
||||
complete -c flac -l cuesheet -d "Import cuesheet and store in CUESHEET block"
|
||||
complete -c flac -x -s T -l tag -d "Add a Vorbis comment FIELD=VALUE; may appear multiple times"
|
||||
complete -c flac -x -s T -l tag-from-file -d "Read tags from file"
|
||||
complete -c flac -x -s S -l seekpoint -d "Add seek point(s) {#|X|#x|#s}"
|
||||
complete -c flac -x -s P -l padding -d "Write a PADDING block of length #"
|
||||
complete -c flac -s 0 -l compression-level-0 -d "Synonymous with -l 0 -b 1152 -r 22"
|
||||
complete -c flac -l fast -d "Synonymous with -l 0 -b 1152 -r 22"
|
||||
complete -c flac -s 1 -l compression-level-1 -d "Synonymous with -l 0 -b 1152 -M -r 2,2"
|
||||
complete -c flac -s 2 -l compression-level-2 -d "Synonymous with -l 0 -b 1152 -m -r 3"
|
||||
complete -c flac -s 3 -l compression-level-3 -d "Synonymous with -l 6 -b 4608 -r 3,3"
|
||||
complete -c flac -s 4 -l compression-level-4 -d "Synonymous with -l 8 -b 4608 -M -r 3,3"
|
||||
complete -c flac -s 5 -l compression-level-5 -d "Synonymous with -l 8 -b 4608 -m -r 3,3"
|
||||
complete -c flac -s 6 -l compression-level-6 -d "Synonymous with -l 8 -b 4608 -m -r 4"
|
||||
complete -c flac -s 7 -l compression-level-7 -d "Synonymous with -l 8 -b 4608 -m -e -r 6"
|
||||
complete -c flac -s 8 -l compression-level-8 -d "Synonymous with -l 12 -b 4608 -m -e -r 6"
|
||||
complete -c flac -l best -d "Synonymous with -l 12 -b 4608 -m -e -r 6"
|
||||
complete -c flac -x -s b -l blocksize -d "Specify blocksize in samples"
|
||||
complete -c flac -s m -l mid-side -d "Try mid-side coding for each frame"
|
||||
complete -c flac -s M -l adaptive-mid-side -d "Adaptive mid-side coding for all frames"
|
||||
complete -c flac -s e -l exhaustive-model-search -d "Do exhaustive model search (expensive!)"
|
||||
complete -c flac -x -s l -l max-lpc-order -d "Max LPC order; 0 => only fixed predictors"
|
||||
complete -c flac -s p -l qlp-coeff-precision-search -d "Exhaustively search LP coeff quantization"
|
||||
complete -c flac -x -s q -l qlp-coeff-precision -d "Specify precision in bits"
|
||||
complete -c flac -x -s r -l rice-partition-order -d "Set [min,]max residual partition order"
|
||||
complete -c flac -s v -l version -d "Show the flac version number"
|
||||
complete -c flac -s h -l help -d "Show this screen"
|
||||
complete -c flac -s H -l explain -d "Show detailed explanation of usage and options"
|
||||
complete -c flac -s d -l decode -d "Decode (the default behavior is to encode)"
|
||||
complete -c flac -s t -l test -d "Same as -d except no decoded file is written"
|
||||
complete -c flac -s a -l analyze -d "Same as -d except an analysis file is written"
|
||||
complete -c flac -s c -l stdout -d "Write output to stdout"
|
||||
complete -c flac -s s -l silent -d "Do not write runtime encode/decode statistics"
|
||||
complete -c flac -l totally-silent -d "Do not print anything including errors"
|
||||
complete -c flac -s f -l force -d "Force overwriting of output files"
|
||||
complete -c flac -r -s o -l output-name -d "Force the output file name"
|
||||
complete -c flac -l output-prefix -d "Prepend STRING to output names"
|
||||
complete -c flac -l delete-input-file -d "Deletes after a successful encode/decode"
|
||||
complete -c flac -l skip -d "Skip the given initial samples for each input {#|mm:ss.ss}"
|
||||
complete -c flac -l until -d "Stop at the given sample for each input file {#|[+|-]mm:ss.ss}"
|
||||
complete -c flac -l ogg -d "Use Ogg as transport layer"
|
||||
complete -c flac -l serial-number -d "Serial number to use for the FLAC stream"
|
||||
complete -c flac -l residual-text -d "Include residual signal in text output"
|
||||
complete -c flac -l residual-gnuplot -d "Generate gnuplot files of residual distribution"
|
||||
complete -c flac -s F -l decode-through-errors -d "Continue decoding through stream errors"
|
||||
complete -c flac -l cue -d "Set the beginning and ending cuepoints to decode [#.#][-[#.#]]"
|
||||
complete -c flac -s V -l verify -d "Verify a correct encoding"
|
||||
complete -c flac -l lax -d "Allow encoder to generate non-Subset files"
|
||||
complete -c flac -l sector-align -d "Align multiple files on sector boundaries"
|
||||
complete -c flac -l replay-gain -d "Calculate ReplayGain & store in Vorbis comments"
|
||||
complete -c flac -l cuesheet -d "Import cuesheet and store in CUESHEET block"
|
||||
complete -c flac -x -s T -l tag -d "Add a Vorbis comment FIELD=VALUE; may appear multiple times"
|
||||
complete -c flac -x -s T -l tag-from-file -d "Read tags from file"
|
||||
complete -c flac -x -s S -l seekpoint -d "Add seek point(s) {#|X|#x|#s}"
|
||||
complete -c flac -x -s P -l padding -d "Write a PADDING block of length #"
|
||||
complete -c flac -s 0 -l compression-level-0 -d "Synonymous with -l 0 -b 1152 -r 22"
|
||||
complete -c flac -l fast -d "Synonymous with -l 0 -b 1152 -r 22"
|
||||
complete -c flac -s 1 -l compression-level-1 -d "Synonymous with -l 0 -b 1152 -M -r 2,2"
|
||||
complete -c flac -s 2 -l compression-level-2 -d "Synonymous with -l 0 -b 1152 -m -r 3"
|
||||
complete -c flac -s 3 -l compression-level-3 -d "Synonymous with -l 6 -b 4608 -r 3,3"
|
||||
complete -c flac -s 4 -l compression-level-4 -d "Synonymous with -l 8 -b 4608 -M -r 3,3"
|
||||
complete -c flac -s 5 -l compression-level-5 -d "Synonymous with -l 8 -b 4608 -m -r 3,3"
|
||||
complete -c flac -s 6 -l compression-level-6 -d "Synonymous with -l 8 -b 4608 -m -r 4"
|
||||
complete -c flac -s 7 -l compression-level-7 -d "Synonymous with -l 8 -b 4608 -m -e -r 6"
|
||||
complete -c flac -s 8 -l compression-level-8 -d "Synonymous with -l 12 -b 4608 -m -e -r 6"
|
||||
complete -c flac -l best -d "Synonymous with -l 12 -b 4608 -m -e -r 6"
|
||||
complete -c flac -x -s b -l blocksize -d "Specify blocksize in samples"
|
||||
complete -c flac -s m -l mid-side -d "Try mid-side coding for each frame"
|
||||
complete -c flac -s M -l adaptive-mid-side -d "Adaptive mid-side coding for all frames"
|
||||
complete -c flac -s e -l exhaustive-model-search -d "Do exhaustive model search (expensive!)"
|
||||
complete -c flac -x -s l -l max-lpc-order -d "Max LPC order; 0 => only fixed predictors"
|
||||
complete -c flac -s p -l qlp-coeff-precision-search -d "Exhaustively search LP coeff quantization"
|
||||
complete -c flac -x -s q -l qlp-coeff-precision -d "Specify precision in bits"
|
||||
complete -c flac -x -s r -l rice-partition-order -d "Set [min,]max residual partition order"
|
||||
|
||||
complete -c flac -l endian=big -d "Set byte order for samples"
|
||||
complete -c flac -l endian=little -d "Set byte order for samples"
|
||||
complete -c flac -l channels -d "Number of channels"
|
||||
complete -c flac -l bps -d "Number of bits per sample"
|
||||
complete -c flac -l sample-rate -d "Sample rate in Hz"
|
||||
complete -c flac -l channels -d "Number of channels"
|
||||
complete -c flac -l bps -d "Number of bits per sample"
|
||||
complete -c flac -l sample-rate -d "Sample rate in Hz"
|
||||
complete -c flac -l sign=unsigned -d "Sign of samples"
|
||||
complete -c flac -l sign=signed -d "Sign of samples"
|
||||
complete -c flac -l input-size -d "Size of the raw input in bytes"
|
||||
complete -c flac -l force-aiff-format -d "Force decoding to AIFF format"
|
||||
complete -c flac -l force-raw-format -d "Treat input or output as raw samples"
|
||||
complete -c flac -l input-size -d "Size of the raw input in bytes"
|
||||
complete -c flac -l force-aiff-format -d "Force decoding to AIFF format"
|
||||
complete -c flac -l force-raw-format -d "Treat input or output as raw samples"
|
||||
|
||||
complete -c flac -l no-adaptive-mid-side -d "No adaptive mid-side coding for all frames"
|
||||
complete -c flac -l no-decode-through-errors -d "Don't continue decoding through stream errors"
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
# Completions for flatpak, an "Application deployment framework for desktop apps"
|
||||
# (http://flatpak.org)
|
||||
set -l commands install update uninstall list info run override make-current enter document-{export,unexport,info,list} \
|
||||
remote-{add,modify,delete,list,ls} build build-{init,finish,export,bundle,import-bundle,sign,update-repo}
|
||||
remote-{add,modify,delete,list,ls} build build-{init,finish,export,bundle,import-bundle,sign,update-repo}
|
||||
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a install -d 'Install an application or runtime from a remote'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a update -d 'Update an installed application or runtime'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a uninstall -d 'Uninstall an installed application or runtime'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a list -d 'List installed apps and/or runtimes'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a info -d 'Show info for installed app or runtime'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a run -d 'Run an application'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a override -d 'Override permissions for an application'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a make-current -d 'Specify default version to run'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a enter -d 'Enter the namespace of a running application'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a document-export -d 'Grant an application access to a specific file'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a document-unexport -d 'Revoke access to a specific file'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a document-info -d 'Show information about a specific file'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a document-list -d 'List exported files'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-add -d 'Add a new remote repository (by URL)'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-modify -d 'Modify properties of a configured remote'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-delete -d 'Delete a configured remote'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-list -d 'List all configured remotes'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-ls -d 'List contents of a configured remote'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-init -d 'Initialize a directory for building'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build -d 'Run a build command inside the build dir'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-finish -d 'Finish a build dir for export'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-export -d 'Export a build dir to a repository'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-bundle -d 'Create a bundle file from a build directory'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a install -d 'Install an application or runtime from a remote'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a update -d 'Update an installed application or runtime'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a uninstall -d 'Uninstall an installed application or runtime'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a list -d 'List installed apps and/or runtimes'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a info -d 'Show info for installed app or runtime'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a run -d 'Run an application'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a override -d 'Override permissions for an application'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a make-current -d 'Specify default version to run'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a enter -d 'Enter the namespace of a running application'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a document-export -d 'Grant an application access to a specific file'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a document-unexport -d 'Revoke access to a specific file'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a document-info -d 'Show information about a specific file'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a document-list -d 'List exported files'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-add -d 'Add a new remote repository (by URL)'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-modify -d 'Modify properties of a configured remote'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-delete -d 'Delete a configured remote'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-list -d 'List all configured remotes'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a remote-ls -d 'List contents of a configured remote'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-init -d 'Initialize a directory for building'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build -d 'Run a build command inside the build dir'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-finish -d 'Finish a build dir for export'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-export -d 'Export a build dir to a repository'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-bundle -d 'Create a bundle file from a build directory'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-import-bundle -d 'Import a bundle file'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-sign -d 'Sign an application or runtime'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-update-repo -d 'Update the summary file in a repository'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-sign -d 'Sign an application or runtime'
|
||||
complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a build-update-repo -d 'Update the summary file in a repository'
|
||||
|
||||
complete -f -c flatpak -n "__fish_seen_subcommand_from run" -a "(flatpak list --app | string match -r '\S+')"
|
||||
complete -f -c flatpak -n "__fish_seen_subcommand_from info uninstall" -a "(flatpak list | string match -r '\S+')"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
function __fish_maybe_list_all_functions
|
||||
# if the current commandline token starts with an _, list all functions
|
||||
if string match -qr -- '^_' (commandline -ct)
|
||||
functions -an
|
||||
else
|
||||
functions -n
|
||||
end
|
||||
# if the current commandline token starts with an _, list all functions
|
||||
if string match -qr -- '^_' (commandline -ct)
|
||||
functions -an
|
||||
else
|
||||
functions -n
|
||||
end
|
||||
end
|
||||
|
||||
complete -c functions -s e -l erase -d "Erase function" -x -a "(__fish_maybe_list_all_functions)"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
__fish_make_completion_signals
|
||||
for i in $__kill_signals
|
||||
set number (echo $i | cut -d " " -f 1)
|
||||
set name (echo $i | cut -d " " -f 2)
|
||||
complete -c fuser -o $number -d $name
|
||||
complete -c fuser -o $name -d $name
|
||||
set number (echo $i | cut -d " " -f 1)
|
||||
set name (echo $i | cut -d " " -f 2)
|
||||
complete -c fuser -o $number -d $name
|
||||
complete -c fuser -o $name -d $name
|
||||
end
|
||||
|
||||
complete -c fuser -s a -l all -d 'Show all files specified on the command line'
|
||||
|
|
|
@ -21,9 +21,9 @@ complete -c gcc -o std -d "Standard mode" -x -a '
|
|||
gnu++98\t"ISO C++98 plus GNU extentions"
|
||||
'
|
||||
|
||||
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17;
|
||||
complete -c gcc -o ftemplate-depth-$i -d "Set maximum template depth"
|
||||
end;
|
||||
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
||||
complete -c gcc -o ftemplate-depth-$i -d "Set maximum template depth"
|
||||
end
|
||||
|
||||
complete -c gcc -s o -d 'Place output in file' -r
|
||||
complete -c gcc -o aux-info -d 'Output to the given filename prototyped declarations for all functions declared and/or defined in a translation unit, including those in header files' -r
|
||||
|
|
|
@ -156,7 +156,7 @@ function __fish_git_files
|
|||
# Version >= 2.11.* has the v2 format.
|
||||
if test "$ver[1]" -gt 2 2>/dev/null; or test "$ver[1]" -eq 2 -a "$ver[2]" -ge 11 2>/dev/null
|
||||
command git $git_opt status --porcelain=2 $status_opt \
|
||||
| while read -la -d ' ' line
|
||||
| while read -la -d ' ' line
|
||||
set -l file
|
||||
set -l desc
|
||||
# The basic status format is "XY", where X is "our" state (meaning the staging area),
|
||||
|
@ -284,7 +284,7 @@ function __fish_git_files
|
|||
# Note that we can't use space as a delimiter between status and filename, because
|
||||
# the status can contain spaces - " M" is different from "M ".
|
||||
command git $git_opt status --porcelain -z $status_opt \
|
||||
| while read -lz line
|
||||
| while read -lz line
|
||||
set -l desc
|
||||
# The entire line is the "from" from a rename.
|
||||
if set -q use_next[1]
|
||||
|
@ -458,9 +458,9 @@ function __fish_git_needs_command
|
|||
# Git has tons of options, but fortunately only a few can appear before the command.
|
||||
# They are listed here.
|
||||
set -l opts h-help p P-paginate N-no-pager b-bare o-no-replace-objects \
|
||||
l-literal-pathspecs g-glob-pathspecs O-noglob-pathspecs i-icase-pathspecs \
|
||||
e-exec-path= G-git-dir= c= C= v-version H-html-path \
|
||||
m-man-path I-info-path w-work-tree= a-namespace= s-super-prefix=
|
||||
l-literal-pathspecs g-glob-pathspecs O-noglob-pathspecs i-icase-pathspecs \
|
||||
e-exec-path= G-git-dir= c= C= v-version H-html-path \
|
||||
m-man-path I-info-path w-work-tree= a-namespace= s-super-prefix=
|
||||
set cmd (commandline -opc)
|
||||
set -e cmd[1]
|
||||
argparse -s $opts -- $cmd 2>/dev/null
|
||||
|
|
|
@ -5,6 +5,6 @@ complete -c gpasswd -s d -l delete -d 'Remove user from group' -xa '(__fish_comp
|
|||
complete -c gpasswd -s h -l help -d 'Print help'
|
||||
complete -c gpasswd -s r -l remove-password -d 'Remove the GROUP\'s password'
|
||||
complete -c gpasswd -s R -l restrict -d 'Restrict access to GROUP to its members'
|
||||
complete -c gpasswd -s M -l members -d 'Set the list of members of GROUP' -xa '(__fish_complete_list , __fish_complete_users)'
|
||||
complete -c gpasswd -s M -l members -d 'Set the list of members of GROUP' -xa '(__fish_complete_list , __fish_complete_users)'
|
||||
complete -c gpasswd -s A -l administrators -d 'set the list of administrators for GROUP' -xa '(__fish_complete_list , __fish_complete_users)'
|
||||
|
||||
|
|
|
@ -20,46 +20,46 @@
|
|||
#
|
||||
|
||||
function __fish_complete_gpg_user_id -d "Complete using gpg user ids"
|
||||
# gpg doesn't seem to like it when you use the whole key name as a
|
||||
# completion, so we skip the <EMAIL> part and use it a s a
|
||||
# description.
|
||||
# It also replaces colons with \x3a
|
||||
gpg --list-keys --with-colon|cut -d : -f 10 | sed -ne 's/\\\x3a/:/g' -e 's/\(.*\) <\(.*\)>/\1'\t'\2/p'
|
||||
# gpg doesn't seem to like it when you use the whole key name as a
|
||||
# completion, so we skip the <EMAIL> part and use it a s a
|
||||
# description.
|
||||
# It also replaces colons with \x3a
|
||||
gpg --list-keys --with-colon | cut -d : -f 10 | sed -ne 's/\\\x3a/:/g' -e 's/\(.*\) <\(.*\)>/\1'\t'\2/p'
|
||||
end
|
||||
|
||||
function __fish_complete_gpg_key_id -d 'Complete using gpg key ids'
|
||||
# Use user_id as the description
|
||||
set -l lastid
|
||||
gpg --list-keys --with-colons | while read garbage
|
||||
switch $garbage
|
||||
case "uid*"
|
||||
echo $garbage | cut -d ":" -f 10 | sed -e "s/\\\x3a/:/g" | read lastid
|
||||
case "*"
|
||||
echo $garbage | cut -d ":" -f 5 | read fingerprint
|
||||
end
|
||||
printf "%s\t%s\n" $fingerprint $lastid
|
||||
end
|
||||
# Use user_id as the description
|
||||
set -l lastid
|
||||
gpg --list-keys --with-colons | while read garbage
|
||||
switch $garbage
|
||||
case "uid*"
|
||||
echo $garbage | cut -d ":" -f 10 | sed -e "s/\\\x3a/:/g" | read lastid
|
||||
case "*"
|
||||
echo $garbage | cut -d ":" -f 5 | read fingerprint
|
||||
end
|
||||
printf "%s\t%s\n" $fingerprint $lastid
|
||||
end
|
||||
end
|
||||
|
||||
function __fish_print_gpg_algo -d "Complete using all algorithms of the type specified in argv[1] supported by gpg. argv[1] is a regexp"
|
||||
# Set a known locale, so that the output format of 'gpg --version'
|
||||
# is at least somewhat predictable. The locale will automatically
|
||||
# expire when the function goes out of scope, and the original locale
|
||||
# will take effect again.
|
||||
set -lx LC_ALL C
|
||||
# Set a known locale, so that the output format of 'gpg --version'
|
||||
# is at least somewhat predictable. The locale will automatically
|
||||
# expire when the function goes out of scope, and the original locale
|
||||
# will take effect again.
|
||||
set -lx LC_ALL C
|
||||
|
||||
# sed script explained:
|
||||
# in the line that matches "$argv:"
|
||||
# define label 'loop'
|
||||
# if the line ends with a ','
|
||||
# add next line to buffer
|
||||
# transliterate '\n' with ' '
|
||||
# goto loop
|
||||
# remove everything until the first ':' of the line
|
||||
# remove all blanks
|
||||
# transliterate ',' with '\n' (OSX apparently doesn't like '\n' on RHS of the s-command)
|
||||
# print result
|
||||
gpg --version | sed -ne "/$argv:/"'{:loop; /,$/{N; y!\n! !; b loop}; s!^[^:]*:!!; s![ ]*!!g; y!,!\n!; p}'
|
||||
# sed script explained:
|
||||
# in the line that matches "$argv:"
|
||||
# define label 'loop'
|
||||
# if the line ends with a ','
|
||||
# add next line to buffer
|
||||
# transliterate '\n' with ' '
|
||||
# goto loop
|
||||
# remove everything until the first ':' of the line
|
||||
# remove all blanks
|
||||
# transliterate ',' with '\n' (OSX apparently doesn't like '\n' on RHS of the s-command)
|
||||
# print result
|
||||
gpg --version | sed -ne "/$argv:/"'{:loop; /,$/{N; y!\n! !; b loop}; s!^[^:]*:!!; s![ ]*!!g; y!,!\n!; p}'
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -1,81 +1,81 @@
|
|||
|
||||
#Common options
|
||||
complete -c gphoto2 -s '?' -l 'help' -d 'Print complete help message on program usage'
|
||||
complete -c gphoto2 -l 'usage' -d 'Print short message on program usage'
|
||||
complete -c gphoto2 -l 'debug' -d 'Turn on debugging'
|
||||
complete -c gphoto2 -l 'debug-logfile' -r -d 'Name of file to write debug info to'
|
||||
complete -c gphoto2 -l 'quiet' -d 'Quiet output (default=verbose)'
|
||||
complete -c gphoto2 -l 'hook-script' -r -d 'Hook script to call after downloads, captures, etc.'
|
||||
complete -c gphoto2 -s '?' -l 'help' -d 'Print complete help message on program usage'
|
||||
complete -c gphoto2 -l 'usage' -d 'Print short message on program usage'
|
||||
complete -c gphoto2 -l 'debug' -d 'Turn on debugging'
|
||||
complete -c gphoto2 -l 'debug-logfile' -r -d 'Name of file to write debug info to'
|
||||
complete -c gphoto2 -l 'quiet' -d 'Quiet output (default=verbose)'
|
||||
complete -c gphoto2 -l 'hook-script' -r -d 'Hook script to call after downloads, captures, etc.'
|
||||
|
||||
#Miscellaneous options (unsorted)
|
||||
complete -c gphoto2 -l 'stdout' -d 'Send file to stdout'
|
||||
complete -c gphoto2 -l 'stdout-size' -d 'Print filesize before data'
|
||||
complete -c gphoto2 -l 'auto-detect' -d 'List auto-detected cameras'
|
||||
complete -c gphoto2 -l 'show-exif' -r -d 'Show EXIF information'
|
||||
complete -c gphoto2 -l 'show-info' -r -d 'Show info'
|
||||
complete -c gphoto2 -l 'summary' -d 'Show summary'
|
||||
complete -c gphoto2 -l 'manual' -d 'Show camera driver manual'
|
||||
complete -c gphoto2 -l 'about' -d 'About the camera driver manual'
|
||||
complete -c gphoto2 -l 'storage-info' -d 'Show storage information'
|
||||
complete -c gphoto2 -l 'shell' -d 'gPhoto shell'
|
||||
complete -c gphoto2 -l 'stdout' -d 'Send file to stdout'
|
||||
complete -c gphoto2 -l 'stdout-size' -d 'Print filesize before data'
|
||||
complete -c gphoto2 -l 'auto-detect' -d 'List auto-detected cameras'
|
||||
complete -c gphoto2 -l 'show-exif' -r -d 'Show EXIF information'
|
||||
complete -c gphoto2 -l 'show-info' -r -d 'Show info'
|
||||
complete -c gphoto2 -l 'summary' -d 'Show summary'
|
||||
complete -c gphoto2 -l 'manual' -d 'Show camera driver manual'
|
||||
complete -c gphoto2 -l 'about' -d 'About the camera driver manual'
|
||||
complete -c gphoto2 -l 'storage-info' -d 'Show storage information'
|
||||
complete -c gphoto2 -l 'shell' -d 'gPhoto shell'
|
||||
|
||||
#Get information on software and host system (not from the camera)
|
||||
complete -c gphoto2 -s v -l 'version' -d 'Display version and exit'
|
||||
complete -c gphoto2 -l 'list-cameras' -d 'List supported camera models'
|
||||
complete -c gphoto2 -l 'list-ports' -d 'List supported port devices'
|
||||
complete -c gphoto2 -s a -l 'abilities' -d 'Display camera/driver abilities'
|
||||
complete -c gphoto2 -s v -l 'version' -d 'Display version and exit'
|
||||
complete -c gphoto2 -l 'list-cameras' -d 'List supported camera models'
|
||||
complete -c gphoto2 -l 'list-ports' -d 'List supported port devices'
|
||||
complete -c gphoto2 -s a -l 'abilities' -d 'Display camera/driver abilities'
|
||||
|
||||
#Specify the camera to use
|
||||
complete -c gphoto2 -l 'port' -r -d 'Specify device port'
|
||||
complete -c gphoto2 -l 'speed' -r -d 'Specify serial transfer speed'
|
||||
complete -c gphoto2 -l 'camera' -r -d 'Specify camera model'
|
||||
complete -c gphoto2 -l 'usbid' -r -d '(expert only) Override USB IDs'
|
||||
complete -c gphoto2 -l 'port' -r -d 'Specify device port'
|
||||
complete -c gphoto2 -l 'speed' -r -d 'Specify serial transfer speed'
|
||||
complete -c gphoto2 -l 'camera' -r -d 'Specify camera model'
|
||||
complete -c gphoto2 -l 'usbid' -r -d '(expert only) Override USB IDs'
|
||||
|
||||
#Camera and software configuration
|
||||
complete -c gphoto2 -l 'list-config' -d 'List configuration tree'
|
||||
complete -c gphoto2 -l 'list-all-config' -d 'Dump full configuration tree'
|
||||
complete -c gphoto2 -l 'get-config' -r -d 'Get configuration value'
|
||||
complete -c gphoto2 -l 'set-config' -r -d 'Set configuration value or index in choices'
|
||||
complete -c gphoto2 -l 'set-config-index' -r -d 'Set configuration value index in choices'
|
||||
complete -c gphoto2 -l 'set-config-value' -r -d 'Set configuration value'
|
||||
complete -c gphoto2 -l 'list-config' -d 'List configuration tree'
|
||||
complete -c gphoto2 -l 'list-all-config' -d 'Dump full configuration tree'
|
||||
complete -c gphoto2 -l 'get-config' -r -d 'Get configuration value'
|
||||
complete -c gphoto2 -l 'set-config' -r -d 'Set configuration value or index in choices'
|
||||
complete -c gphoto2 -l 'set-config-index' -r -d 'Set configuration value index in choices'
|
||||
complete -c gphoto2 -l 'set-config-value' -r -d 'Set configuration value'
|
||||
|
||||
#Capture an image from or on the camera
|
||||
complete -c gphoto2 -l 'wait-event' -d 'Wait for event(s) from camera'
|
||||
complete -c gphoto2 -l 'wait-event-and-download' -d 'Wait for event(s) from the camera and download new images'
|
||||
complete -c gphoto2 -l 'capture-preview' -d 'Capture a quick preview'
|
||||
complete -c gphoto2 -s B -l 'bulb' -r -d 'Set bulb exposure time in seconds'
|
||||
complete -c gphoto2 -s F -l 'frames' -r -d 'Set number of frames to capture (default=infinite)'
|
||||
complete -c gphoto2 -s I -l 'interval' -r -d 'Set capture interval in seconds'
|
||||
complete -c gphoto2 -l 'reset-interval' -d 'Reset capture interval on signal (default=no)'
|
||||
complete -c gphoto2 -l 'capture-image' -d 'Capture an image'
|
||||
complete -c gphoto2 -l 'capture-image-and-download' -d 'Capture an image and download it'
|
||||
complete -c gphoto2 -l 'capture-movie' -d 'Capture a movie'
|
||||
complete -c gphoto2 -l 'capture-sound' -d 'Capture an audio clip'
|
||||
complete -c gphoto2 -l 'capture-tethered' -d 'Wait for shutter release on the camera and download'
|
||||
complete -c gphoto2 -l 'wait-event' -d 'Wait for event(s) from camera'
|
||||
complete -c gphoto2 -l 'wait-event-and-download' -d 'Wait for event(s) from the camera and download new images'
|
||||
complete -c gphoto2 -l 'capture-preview' -d 'Capture a quick preview'
|
||||
complete -c gphoto2 -s B -l 'bulb' -r -d 'Set bulb exposure time in seconds'
|
||||
complete -c gphoto2 -s F -l 'frames' -r -d 'Set number of frames to capture (default=infinite)'
|
||||
complete -c gphoto2 -s I -l 'interval' -r -d 'Set capture interval in seconds'
|
||||
complete -c gphoto2 -l 'reset-interval' -d 'Reset capture interval on signal (default=no)'
|
||||
complete -c gphoto2 -l 'capture-image' -d 'Capture an image'
|
||||
complete -c gphoto2 -l 'capture-image-and-download' -d 'Capture an image and download it'
|
||||
complete -c gphoto2 -l 'capture-movie' -d 'Capture a movie'
|
||||
complete -c gphoto2 -l 'capture-sound' -d 'Capture an audio clip'
|
||||
complete -c gphoto2 -l 'capture-tethered' -d 'Wait for shutter release on the camera and download'
|
||||
|
||||
#Downloading, uploading and manipulating files
|
||||
complete -c gphoto2 -s l -l 'list-folders' -d 'List folders in folder'
|
||||
complete -c gphoto2 -s L -l 'list-files' -d 'List files in folder'
|
||||
complete -c gphoto2 -s m -l 'mkdir' -r -d 'Create a directory'
|
||||
complete -c gphoto2 -s r -l 'rmdir' -r -d 'Remove a directory'
|
||||
complete -c gphoto2 -s n -l 'num-files' -d 'Display number of files'
|
||||
complete -c gphoto2 -s p -l 'get-file' -r -d 'Get files given in range'
|
||||
complete -c gphoto2 -s P -l 'get-all-files' -d 'Get all files from folder'
|
||||
complete -c gphoto2 -s t -l 'get-thumbnail' -r -d 'Get thumbnails given in range'
|
||||
complete -c gphoto2 -s T -l 'get-all-thumbnails' -d 'Get all thumbnails from folder'
|
||||
complete -c gphoto2 -l 'get-metadata' -r -d 'Get metadata given in range'
|
||||
complete -c gphoto2 -l 'get-all-metadata' -d 'Get all metadata from folder'
|
||||
complete -c gphoto2 -l 'upload-metadata' -r -d 'Upload metadata for file'
|
||||
complete -c gphoto2 -l 'get-raw-data' -r -d 'Get raw data given in range'
|
||||
complete -c gphoto2 -l 'get-all-raw-data' -d 'Get all raw data from folder'
|
||||
complete -c gphoto2 -l 'get-audio-data' -r -d 'Get audio data given in range'
|
||||
complete -c gphoto2 -l 'get-all-audio-data' -d 'Get all audio data from folder'
|
||||
complete -c gphoto2 -s d -l 'delete-file' -r -d 'Delete files given in range'
|
||||
complete -c gphoto2 -s D -l 'delete-all-files' -d 'Delete all files in folder (--no-recurse by default)'
|
||||
complete -c gphoto2 -s u -l 'upload-file' -r -d 'Upload a file to camera'
|
||||
complete -c gphoto2 -l 'filename' -r -d 'Specify a filename or filename pattern'
|
||||
complete -c gphoto2 -s f -l 'folder' -r -d 'Specify camera folder (default="/")'
|
||||
complete -c gphoto2 -s R -l 'recurse' -d 'Recursion (default for download)'
|
||||
complete -c gphoto2 -l 'no-recurse' -d 'No recursion (default for deletion)'
|
||||
complete -c gphoto2 -l 'new' -d 'Process new files only'
|
||||
complete -c gphoto2 -l 'force-overwrite' -d 'Overwrite files without asking'
|
||||
complete -c gphoto2 -s l -l 'list-folders' -d 'List folders in folder'
|
||||
complete -c gphoto2 -s L -l 'list-files' -d 'List files in folder'
|
||||
complete -c gphoto2 -s m -l 'mkdir' -r -d 'Create a directory'
|
||||
complete -c gphoto2 -s r -l 'rmdir' -r -d 'Remove a directory'
|
||||
complete -c gphoto2 -s n -l 'num-files' -d 'Display number of files'
|
||||
complete -c gphoto2 -s p -l 'get-file' -r -d 'Get files given in range'
|
||||
complete -c gphoto2 -s P -l 'get-all-files' -d 'Get all files from folder'
|
||||
complete -c gphoto2 -s t -l 'get-thumbnail' -r -d 'Get thumbnails given in range'
|
||||
complete -c gphoto2 -s T -l 'get-all-thumbnails' -d 'Get all thumbnails from folder'
|
||||
complete -c gphoto2 -l 'get-metadata' -r -d 'Get metadata given in range'
|
||||
complete -c gphoto2 -l 'get-all-metadata' -d 'Get all metadata from folder'
|
||||
complete -c gphoto2 -l 'upload-metadata' -r -d 'Upload metadata for file'
|
||||
complete -c gphoto2 -l 'get-raw-data' -r -d 'Get raw data given in range'
|
||||
complete -c gphoto2 -l 'get-all-raw-data' -d 'Get all raw data from folder'
|
||||
complete -c gphoto2 -l 'get-audio-data' -r -d 'Get audio data given in range'
|
||||
complete -c gphoto2 -l 'get-all-audio-data' -d 'Get all audio data from folder'
|
||||
complete -c gphoto2 -s d -l 'delete-file' -r -d 'Delete files given in range'
|
||||
complete -c gphoto2 -s D -l 'delete-all-files' -d 'Delete all files in folder (--no-recurse by default)'
|
||||
complete -c gphoto2 -s u -l 'upload-file' -r -d 'Upload a file to camera'
|
||||
complete -c gphoto2 -l 'filename' -r -d 'Specify a filename or filename pattern'
|
||||
complete -c gphoto2 -s f -l 'folder' -r -d 'Specify camera folder (default="/")'
|
||||
complete -c gphoto2 -s R -l 'recurse' -d 'Recursion (default for download)'
|
||||
complete -c gphoto2 -l 'no-recurse' -d 'No recursion (default for deletion)'
|
||||
complete -c gphoto2 -l 'new' -d 'Process new files only'
|
||||
complete -c gphoto2 -l 'force-overwrite' -d 'Overwrite files without asking'
|
||||
|
|
|
@ -39,22 +39,22 @@ complete -c gradle -l exclude-task -s x -x -d 'Specify task to be excluded from
|
|||
|
||||
# https://github.com/hanny24/gradle-fish/blob/master/gradle.load
|
||||
function __cache_or_get_gradle_completion
|
||||
# Set up cache directory
|
||||
if test -z $XDG_CACHE_HOME
|
||||
set XDG_CACHE_HOME $HOME/.cache/
|
||||
end
|
||||
mkdir -m 700 -p $XDG_CACHE_HOME/gradle-completions
|
||||
# Set up cache directory
|
||||
if test -z $XDG_CACHE_HOME
|
||||
set XDG_CACHE_HOME $HOME/.cache/
|
||||
end
|
||||
mkdir -m 700 -p $XDG_CACHE_HOME/gradle-completions
|
||||
|
||||
set -l hashed_pwd (fish_md5 -s $PWD)
|
||||
set -l gradle_cache_file $XDG_CACHE_HOME/gradle-completions/$hashed_pwd
|
||||
if not test -f $gradle_cache_file; or command test build.gradle -nt $gradle_cache_file
|
||||
command gradle -q tasks 2>/dev/null | string match -r '^[[:alnum:]]+ - .*' | string replace ' - ' \t > $gradle_cache_file
|
||||
end
|
||||
cat $gradle_cache_file
|
||||
set -l hashed_pwd (fish_md5 -s $PWD)
|
||||
set -l gradle_cache_file $XDG_CACHE_HOME/gradle-completions/$hashed_pwd
|
||||
if not test -f $gradle_cache_file; or command test build.gradle -nt $gradle_cache_file
|
||||
command gradle -q tasks 2>/dev/null | string match -r '^[[:alnum:]]+ - .*' | string replace ' - ' \t >$gradle_cache_file
|
||||
end
|
||||
cat $gradle_cache_file
|
||||
end
|
||||
|
||||
function __contains_gradle_build
|
||||
test -f build.gradle
|
||||
test -f build.gradle
|
||||
end
|
||||
|
||||
complete -x -c gradle -n '__contains_gradle_build' -a "(__cache_or_get_gradle_completion)"
|
||||
|
|
|
@ -8,24 +8,24 @@
|
|||
# https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
|
||||
|
||||
function __grunt_print_tasks
|
||||
set -l tasks (grunt --version --verbose 2>/dev/null | awk '/Available tasks: / {$1=$2=""; print $0}' | awk '{$1=$1}1' | tr ' ' '\n')
|
||||
for t in $tasks
|
||||
echo $t
|
||||
end
|
||||
set -l tasks (grunt --version --verbose 2>/dev/null | awk '/Available tasks: / {$1=$2=""; print $0}' | awk '{$1=$1}1' | tr ' ' '\n')
|
||||
for t in $tasks
|
||||
echo $t
|
||||
end
|
||||
end
|
||||
|
||||
complete -c grunt -fa '(__grunt_print_tasks)'
|
||||
complete -c grunt -s h -l help -d "Display help text"
|
||||
complete -c grunt -l base -d "Specify an alternate base path"
|
||||
complete -c grunt -l no-color -d "Disable colored output"
|
||||
complete -c grunt -l gruntfile -rd "Specify an alternate Gruntfile"
|
||||
complete -c grunt -s d -l debug -d "Enable debugging mode for tasks that support it"
|
||||
complete -c grunt -l stack -d "Print a stack trace when exiting with a warning or fatal error"
|
||||
complete -c grunt -s f -l force -d "A way to force your way past warnings."
|
||||
complete -c grunt -l tasks -rd "Additional directory paths to scan for task and "extra" files"
|
||||
complete -c grunt -l npm -x -d "Npm-installed grunt plugins to scan for task and "extra" files"
|
||||
complete -c grunt -l no-write -d "Disable writing files (dry run)"
|
||||
complete -c grunt -s v -l verbose -d "Verbose mode. A lot more information output"
|
||||
complete -c grunt -s h -l help -d "Display help text"
|
||||
complete -c grunt -l base -d "Specify an alternate base path"
|
||||
complete -c grunt -l no-color -d "Disable colored output"
|
||||
complete -c grunt -l gruntfile -rd "Specify an alternate Gruntfile"
|
||||
complete -c grunt -s d -l debug -d "Enable debugging mode for tasks that support it"
|
||||
complete -c grunt -l stack -d "Print a stack trace when exiting with a warning or fatal error"
|
||||
complete -c grunt -s f -l force -d "A way to force your way past warnings."
|
||||
complete -c grunt -l tasks -rd "Additional directory paths to scan for task and "extra" files"
|
||||
complete -c grunt -l npm -x -d "Npm-installed grunt plugins to scan for task and "extra" files"
|
||||
complete -c grunt -l no-write -d "Disable writing files (dry run)"
|
||||
complete -c grunt -s v -l verbose -d "Verbose mode. A lot more information output"
|
||||
complete -c grunt -s V -l version -d "Print the grunt version. Combine with --verbose for more info"
|
||||
complete -c grunt -l completion -d "Output shell auto-completion rules."
|
||||
complete -c grunt -l completion -d "Output shell auto-completion rules."
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ function __fish_complete_gsettings_args
|
|||
set -e cmd[1]
|
||||
|
||||
if set -q cmd[2]
|
||||
and string match -q -- '--schemadir' $cmd[1]
|
||||
and string match -q -- '--schemadir' $cmd[1]
|
||||
# TODO: This needs to support proper expansion of paths (~, variables, etc.)
|
||||
set schemadir --schemadir $cmd[2]
|
||||
set -e cmd[1..2]
|
||||
|
@ -56,15 +56,15 @@ function __fish_complete_gsettings_args
|
|||
set -l key_type $range[1]
|
||||
set -e range[1]
|
||||
switch $key_type
|
||||
case 'type b'
|
||||
echo true
|
||||
echo false
|
||||
case 'enum'
|
||||
string join \n $range
|
||||
case '*'
|
||||
# If no sensible suggestions can be made, just use the current value.
|
||||
# It gives a good indication on the expected format and is likely already close to what the user wants.
|
||||
gsettings $schemadir get $schema $key 2>/dev/null
|
||||
case 'type b'
|
||||
echo true
|
||||
echo false
|
||||
case 'enum'
|
||||
string join \n $range
|
||||
case '*'
|
||||
# If no sensible suggestions can be made, just use the current value.
|
||||
# It gives a good indication on the expected format and is likely already close to what the user wants.
|
||||
gsettings $schemadir get $schema $key 2>/dev/null
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
|
|
@ -2,49 +2,49 @@ complete -c gv -xa "(__fish_complete_suffix .ps)"
|
|||
complete -c gv -xa "(__fish_complete_suffix .ps.gz)"
|
||||
complete -c gv -xa "(__fish_complete_suffix .eps)"
|
||||
complete -c gv -xa "(__fish_complete_suffix .pdf)"
|
||||
complete -c gv -l monochrome -d 'Display document using only black and white'
|
||||
complete -c gv -l grayscale -d 'Display document without colors'
|
||||
complete -c gv -l color -d 'Display document as usual'
|
||||
complete -c gv -l safer -d 'Start ghostscript in safe mode'
|
||||
complete -c gv -l nosafer -d 'Do not start ghostscript in safe mode'
|
||||
complete -c gv -l safedir -d 'Start ghostscript from a safe diretory'
|
||||
complete -c gv -l nosafedir -d 'Do not start ghostscript from a safe diretory'
|
||||
complete -c gv -l quiet -d 'Start ghostscript with the -dQUIET option'
|
||||
complete -c gv -l noquiet -d 'Do not start ghostscript with the -dQUIET option'
|
||||
complete -c gv -l infoSilent -d 'Do not show any messages in the info popup window'
|
||||
complete -c gv -l infoErrors -d 'Do not show warning messages in the info popup window'
|
||||
complete -c gv -l infoAll -d 'Do show all messages in the info popup window'
|
||||
complete -c gv -l arguments -d 'Start ghostscript with additional options as specified by the string ARGS' -x
|
||||
complete -c gv -l page -d 'Display the page with label LABEL first' -x
|
||||
complete -c gv -l center -d 'The page should be centered automatically'
|
||||
complete -c gv -l nocenter -d 'The page should not be centered automatically'
|
||||
complete -c gv -l media -d 'Selects the paper size to be used'
|
||||
complete -c gv -l orientation -d 'Sets the orientation of the page' -xa 'automatic bbox letter legal statement tabloid ledger folio quatro 10x14 executive a3 a4 a5 b4 b5'
|
||||
complete -c gv -l scale -d 'Selects the scale N, or arbitrary scale f.f' -x
|
||||
complete -c gv -l scalebase -d 'Selects the scale base N' -x
|
||||
complete -c gv -l swap -d 'Interchange the meaning of the orientations landscape and seascape'
|
||||
complete -c gv -l noswap -d 'Do not interchange the meaning of the orientation landscape and seascape'
|
||||
complete -c gv -l antialias -d 'Use antialiasing'
|
||||
complete -c gv -l noantialias -d 'Do not use antialiasing'
|
||||
complete -c gv -l dsc -d 'Dsc comments are respected'
|
||||
complete -c gv -l nodsc -d 'Dsc comments are not respected'
|
||||
complete -c gv -l eof -d 'Ignore the postscript EOF comment while scanning documents'
|
||||
complete -c gv -l noeof -d 'Do not ignore the postscript EOF comment while scanning documents'
|
||||
complete -c gv -l pixmap -d 'Use backing pixmap'
|
||||
complete -c gv -l nopixmap -d 'Do not use backing pixmap'
|
||||
complete -c gv -l watch -d 'Watch the document file for changes'
|
||||
complete -c gv -l nowatch -d 'Do not watch the document file for changes'
|
||||
complete -c gv -l help -d 'Print a help message and exit'
|
||||
complete -c gv -l usage -d 'Print a usage message and exit'
|
||||
complete -c gv -l resize -d 'Fit the size of the window to the size of the page'
|
||||
complete -c gv -l noresize -d 'Do not fit the size of the window to the size of the page'
|
||||
complete -c gv -o geometry -d 'Set geometry'
|
||||
complete -c gv -l ad -d 'Read and use additional resources from FILE (higher priority)' -r
|
||||
complete -c gv -l style -d 'Read and use additional resources from FILE (lower priority)' -r
|
||||
complete -c gv -l password -d 'Sets the password for opening encrypted PDF files' -x
|
||||
complete -c gv -l spartan -d 'Shortcut for --style=gv_spartan.dat'
|
||||
complete -c gv -l widgetless -d 'Shortcut for --style=gv_widgetless.dat'
|
||||
complete -c gv -l fullscreen -d 'Start in fullscreen mode (needs support from WM)'
|
||||
complete -c gv -l monochrome -d 'Display document using only black and white'
|
||||
complete -c gv -l grayscale -d 'Display document without colors'
|
||||
complete -c gv -l color -d 'Display document as usual'
|
||||
complete -c gv -l safer -d 'Start ghostscript in safe mode'
|
||||
complete -c gv -l nosafer -d 'Do not start ghostscript in safe mode'
|
||||
complete -c gv -l safedir -d 'Start ghostscript from a safe diretory'
|
||||
complete -c gv -l nosafedir -d 'Do not start ghostscript from a safe diretory'
|
||||
complete -c gv -l quiet -d 'Start ghostscript with the -dQUIET option'
|
||||
complete -c gv -l noquiet -d 'Do not start ghostscript with the -dQUIET option'
|
||||
complete -c gv -l infoSilent -d 'Do not show any messages in the info popup window'
|
||||
complete -c gv -l infoErrors -d 'Do not show warning messages in the info popup window'
|
||||
complete -c gv -l infoAll -d 'Do show all messages in the info popup window'
|
||||
complete -c gv -l arguments -d 'Start ghostscript with additional options as specified by the string ARGS' -x
|
||||
complete -c gv -l page -d 'Display the page with label LABEL first' -x
|
||||
complete -c gv -l center -d 'The page should be centered automatically'
|
||||
complete -c gv -l nocenter -d 'The page should not be centered automatically'
|
||||
complete -c gv -l media -d 'Selects the paper size to be used'
|
||||
complete -c gv -l orientation -d 'Sets the orientation of the page' -xa 'automatic bbox letter legal statement tabloid ledger folio quatro 10x14 executive a3 a4 a5 b4 b5'
|
||||
complete -c gv -l scale -d 'Selects the scale N, or arbitrary scale f.f' -x
|
||||
complete -c gv -l scalebase -d 'Selects the scale base N' -x
|
||||
complete -c gv -l swap -d 'Interchange the meaning of the orientations landscape and seascape'
|
||||
complete -c gv -l noswap -d 'Do not interchange the meaning of the orientation landscape and seascape'
|
||||
complete -c gv -l antialias -d 'Use antialiasing'
|
||||
complete -c gv -l noantialias -d 'Do not use antialiasing'
|
||||
complete -c gv -l dsc -d 'Dsc comments are respected'
|
||||
complete -c gv -l nodsc -d 'Dsc comments are not respected'
|
||||
complete -c gv -l eof -d 'Ignore the postscript EOF comment while scanning documents'
|
||||
complete -c gv -l noeof -d 'Do not ignore the postscript EOF comment while scanning documents'
|
||||
complete -c gv -l pixmap -d 'Use backing pixmap'
|
||||
complete -c gv -l nopixmap -d 'Do not use backing pixmap'
|
||||
complete -c gv -l watch -d 'Watch the document file for changes'
|
||||
complete -c gv -l nowatch -d 'Do not watch the document file for changes'
|
||||
complete -c gv -l help -d 'Print a help message and exit'
|
||||
complete -c gv -l usage -d 'Print a usage message and exit'
|
||||
complete -c gv -l resize -d 'Fit the size of the window to the size of the page'
|
||||
complete -c gv -l noresize -d 'Do not fit the size of the window to the size of the page'
|
||||
complete -c gv -o geometry -d 'Set geometry'
|
||||
complete -c gv -l ad -d 'Read and use additional resources from FILE (higher priority)' -r
|
||||
complete -c gv -l style -d 'Read and use additional resources from FILE (lower priority)' -r
|
||||
complete -c gv -l password -d 'Sets the password for opening encrypted PDF files' -x
|
||||
complete -c gv -l spartan -d 'Shortcut for --style=gv_spartan.dat'
|
||||
complete -c gv -l widgetless -d 'Shortcut for --style=gv_widgetless.dat'
|
||||
complete -c gv -l fullscreen -d 'Start in fullscreen mode (needs support from WM)'
|
||||
complete -c gv -l presentation -d 'Presentation mode '
|
||||
complete -c gv -l version -d 'Show gv version and exit'
|
||||
complete -c gv -l version -d 'Show gv version and exit'
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
if head --version >/dev/null 2>/dev/null
|
||||
complete -c head -s c -l bytes -d 'Print the first N bytes; Leading '-', truncate the last N bytes' -r
|
||||
complete -c head -s n -l lines -d 'Print the first N lines; Leading '-', truncate the last N lines' -r
|
||||
complete -c head -s q -l quiet -l silent -d 'Never print file names'
|
||||
complete -c head -s v -l verbose -d 'Always print file names'
|
||||
complete -f -c head -l version -d 'Display version'
|
||||
complete -f -c head -l help -d 'Display help'
|
||||
complete -c head -s c -l bytes -d 'Print the first N bytes; Leading '-', truncate the last N bytes' -r
|
||||
complete -c head -s n -l lines -d 'Print the first N lines; Leading '-', truncate the last N lines' -r
|
||||
complete -c head -s q -l quiet -l silent -d 'Never print file names'
|
||||
complete -c head -s v -l verbose -d 'Always print file names'
|
||||
complete -f -c head -l version -d 'Display version'
|
||||
complete -f -c head -l help -d 'Display help'
|
||||
else # OSX and similar - no longopts (and fewer shortopts)
|
||||
complete -c head -s c -d 'Print the first N bytes' -r
|
||||
complete -c head -s n -d 'Print the first N lines' -r
|
||||
complete -c head -s c -d 'Print the first N bytes' -r
|
||||
complete -c head -s n -d 'Print the first N lines' -r
|
||||
end
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
if test -d "$__fish_data_dir/man/man1/"
|
||||
complete -c help -x -a '(__fish_print_commands)' -d 'Help for this command'
|
||||
complete -c help -x -a '(__fish_print_commands)' -d 'Help for this command'
|
||||
end
|
||||
|
||||
# Help topics
|
||||
|
|
|
@ -107,7 +107,7 @@ complete $heroku_looking -xa addons:upgrade -d 'upgrade an existing addon'
|
|||
complete -c heroku -n '__fish_heroku_using_command addons:upgrade' -fa '(__fish_list_installed_addons)'
|
||||
|
||||
# Apps options and subcommands
|
||||
complete -c heroku -n '__fish_heroku_using_command apps' -s o -l org -l ORG -d "the org to list the apps for"
|
||||
complete -c heroku -n '__fish_heroku_using_command apps' -s o -l org -l ORG -d "the org to list the apps for"
|
||||
complete -c heroku -n '__fish_heroku_using_command apps' -s A -l all -d "list all apps in the org. Not just joined apps"
|
||||
complete -c heroku -n '__fish_heroku_using_command apps' -s p -l personal -d "list apps in personal account when a default org is set"
|
||||
|
||||
|
|
|
@ -375,7 +375,7 @@ function __fish_hg_using_command --argument-names cmd
|
|||
end
|
||||
|
||||
function __fish_hg_needs_command
|
||||
not __fish_hg_get_command > /dev/null
|
||||
not __fish_hg_get_command >/dev/null
|
||||
end
|
||||
|
||||
# global options
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
complete -c highlight -s O -l out-format -d 'Output file in given format' -xa 'xterm256 latex tex rtf html xhtml ansi bbcode svg'
|
||||
complete -c highlight -s t -l tab -d 'Specify tab length' -x
|
||||
complete -c highlight -s i -l input -d 'Name of the input file' -r
|
||||
complete -c highlight -s o -l output -d 'Name of the output file' -r
|
||||
complete -c highlight -s d -l outdir -d 'Output directory' -r
|
||||
complete -c highlight -s S -l syntax -d 'Set type of the source code' -xa "(highlight -p | sed -r 's/^(.*\S)\s+:\s*(\S+).*\$/\2\t\1/; /^\$/d')"
|
||||
complete -c highlight -s s -l style -d 'Highlight style' -xa "(highlight --list-themes | sed '/^\$\| /d')"
|
||||
complete -c highlight -s t -l tab -d 'Specify tab length' -x
|
||||
complete -c highlight -s i -l input -d 'Name of the input file' -r
|
||||
complete -c highlight -s o -l output -d 'Name of the output file' -r
|
||||
complete -c highlight -s d -l outdir -d 'Output directory' -r
|
||||
complete -c highlight -s S -l syntax -d 'Set type of the source code' -xa "(highlight -p | sed -r 's/^(.*\S)\s+:\s*(\S+).*\$/\2\t\1/; /^\$/d')"
|
||||
complete -c highlight -s s -l style -d 'Highlight style' -xa "(highlight --list-themes | sed '/^\$\| /d')"
|
||||
|
|
|
@ -9,8 +9,8 @@ function __fish_hugo_command
|
|||
set -l skip 1
|
||||
for token in $tokens[2..-1]
|
||||
if test $skip -eq 0
|
||||
set skip 1
|
||||
else
|
||||
set skip 1
|
||||
else
|
||||
switch $token
|
||||
case "--config" "--logFile"
|
||||
set skip 0
|
||||
|
@ -40,61 +40,61 @@ end
|
|||
|
||||
# Global options
|
||||
|
||||
complete -c hugo -l config -f -d "Configuration file"
|
||||
complete -c hugo -l debug -f -d "Debug output"
|
||||
complete -c hugo -l log -f -d "Enable logging"
|
||||
complete -c hugo -l logFile -r -d "Log file"
|
||||
complete -c hugo -l quiet -f -d "Quiet mode"
|
||||
complete -c hugo -s v -l verbose -f -d "Verbose output"
|
||||
complete -c hugo -l verboseLog -f -d "Verbose logging"
|
||||
complete -c hugo -l config -f -d "Configuration file"
|
||||
complete -c hugo -l debug -f -d "Debug output"
|
||||
complete -c hugo -l log -f -d "Enable logging"
|
||||
complete -c hugo -l logFile -r -d "Log file"
|
||||
complete -c hugo -l quiet -f -d "Quiet mode"
|
||||
complete -c hugo -s v -l verbose -f -d "Verbose output"
|
||||
complete -c hugo -l verboseLog -f -d "Verbose logging"
|
||||
|
||||
# Main-like commands
|
||||
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s b -l baseURL -r -d "Hostname and path to the root"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s B -l buildDrafts -f -d "Include content marked as draft"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s E -l buildExpired -f -d "Include expired content"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s F -l buildFuture -f -d "Include content with publishdate in the future"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l cacheDir -f -a "(__fish_complete_directories (commandline -ct) 'Cache directory')" -d "Cache directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l canonifyURLs -f -d "Canonicalize all relative URLs using baseurl"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l cleanDestinationDir -f -d "Remove files from destination not found in static directories"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s c -l contentDir -f -a "(__fish_complete_directories (commandline -ct) 'Content directory')" -d "Content directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s d -l destination -f -a "(__fish_complete_directories (commandline -ct) 'Destination directory')" -d "Destination directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l disable404 -f -d "Do not build 404 page"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l disableKinds -r -d "Disable different kinds of pages"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l disableRSS -f -d "Do not build RSS files"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l disableSitemap -f -d "Do not build sitemap files"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l enableGitInfo -f -d "Add Git revision, date and author info to the pages"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l forceSyncStatic -f -d "Copy all files when static is changed"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s h -l help -f -d "Help for hugo"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l i18n-warnings -f -d "Print missing translations"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l ignoreCache -f -d "Ignore the cache directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s l -l layoutDir -f -a "(__fish_complete_directories (commandline -ct) 'Layout directory')" -d "Layout directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l noChmod -f -d "Do not sync permission mode of files"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l noTimes -f -d "Do not sync modification time of files"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l pluralizeListTitles -f -d "Pluralize titles in lists using inflect"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l preserveTaxonomyNames -f -d "Preserve taxonomy names as written"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l renderToMemory -f -d "Render to memory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s s -l source -f -a "(__fish_complete_directories (commandline -ct) 'Source directory')" -d "Source directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l stepAnalysis -f -d "Display memory and timing of different steps of the program"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l templateMetrics -f -d "Display metrics about template executions"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l templateMetricsHints -f -d "Calculate some improvement hints when combined with --templateMetrics"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s t -l theme -r -d "Theme to use"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l themesDir -f -a "(__fish_complete_directories (commandline -ct) 'Themes directory')" -d "Themes directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l uglyURLs -f -d "Use /filename.html instead of /filename/"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s w -l watch -f -d "Watch filesystem for changes and recreate as needed"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s b -l baseURL -r -d "Hostname and path to the root"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s B -l buildDrafts -f -d "Include content marked as draft"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s E -l buildExpired -f -d "Include expired content"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s F -l buildFuture -f -d "Include content with publishdate in the future"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l cacheDir -f -a "(__fish_complete_directories (commandline -ct) 'Cache directory')" -d "Cache directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l canonifyURLs -f -d "Canonicalize all relative URLs using baseurl"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l cleanDestinationDir -f -d "Remove files from destination not found in static directories"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s c -l contentDir -f -a "(__fish_complete_directories (commandline -ct) 'Content directory')" -d "Content directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s d -l destination -f -a "(__fish_complete_directories (commandline -ct) 'Destination directory')" -d "Destination directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l disable404 -f -d "Do not build 404 page"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l disableKinds -r -d "Disable different kinds of pages"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l disableRSS -f -d "Do not build RSS files"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l disableSitemap -f -d "Do not build sitemap files"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l enableGitInfo -f -d "Add Git revision, date and author info to the pages"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l forceSyncStatic -f -d "Copy all files when static is changed"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s h -l help -f -d "Help for hugo"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l i18n-warnings -f -d "Print missing translations"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l ignoreCache -f -d "Ignore the cache directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s l -l layoutDir -f -a "(__fish_complete_directories (commandline -ct) 'Layout directory')" -d "Layout directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l noChmod -f -d "Do not sync permission mode of files"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l noTimes -f -d "Do not sync modification time of files"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l pluralizeListTitles -f -d "Pluralize titles in lists using inflect"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l preserveTaxonomyNames -f -d "Preserve taxonomy names as written"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l renderToMemory -f -d "Render to memory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s s -l source -f -a "(__fish_complete_directories (commandline -ct) 'Source directory')" -d "Source directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l stepAnalysis -f -d "Display memory and timing of different steps of the program"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l templateMetrics -f -d "Display metrics about template executions"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l templateMetricsHints -f -d "Calculate some improvement hints when combined with --templateMetrics"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s t -l theme -r -d "Theme to use"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l themesDir -f -a "(__fish_complete_directories (commandline -ct) 'Themes directory')" -d "Themes directory"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -l uglyURLs -f -d "Use /filename.html instead of /filename/"
|
||||
complete -c hugo -n "__fish_hugo_using_main_like_command" -s w -l watch -f -d "Watch filesystem for changes and recreate as needed"
|
||||
|
||||
# Commands
|
||||
|
||||
# benchmark
|
||||
complete -c hugo -n "not __fish_hugo_command" -f -a benchmark -d "Benchmark Hugo by building the site a number of times"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -s n -l count -f -d "Number of times to build the site"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l cpuprofile -r -d "CPU profile file"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -s h -l help -f -d "Help for benchmark"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l memprofile -r -d "Memory profile file"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l renderToMemory -f -d "Render to memory"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l stepAnalysis -f -d "Display memory and timing of different steps of the program"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l templateMetrics -f -d "Display metrics about template executions"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l templateMetricsHints -f -d "Calculate some improvement hints when combined with --templateMetrics"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -s n -l count -f -d "Number of times to build the site"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l cpuprofile -r -d "CPU profile file"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -s h -l help -f -d "Help for benchmark"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l memprofile -r -d "Memory profile file"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l renderToMemory -f -d "Render to memory"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l stepAnalysis -f -d "Display memory and timing of different steps of the program"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l templateMetrics -f -d "Display metrics about template executions"
|
||||
complete -c hugo -n "__fish_hugo_using_command benchmark" -l templateMetricsHints -f -d "Calculate some improvement hints when combined with --templateMetrics"
|
||||
|
||||
# check
|
||||
complete -c hugo -n "not __fish_hugo_command" -f -a check -d "Perform some verification checks"
|
||||
|
@ -110,10 +110,10 @@ complete -c hugo -n "__fish_hugo_using_command config" -s h -l help -f -d "Help
|
|||
|
||||
# convert
|
||||
complete -c hugo -n "not __fish_hugo_command" -f -a convert -d "Convert the content to different formats"
|
||||
complete -c hugo -n "__fish_hugo_using_command convert" -s h -l help -f -d "Help for convert"
|
||||
complete -c hugo -n "__fish_hugo_using_command convert" -s h -l help -f -d "Help for convert"
|
||||
complete -c hugo -n "__fish_hugo_using_command convert" -s o -l output -f -a "(__fish_complete_directories (commandline -ct) 'Output directory')" -d "Output directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command convert" -s s -l source -f -a "(__fish_complete_directories (commandline -ct) 'Source directory')" -d "Source directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command convert" -l unsafe -f -d "Enable less safe operations"
|
||||
complete -c hugo -n "__fish_hugo_using_command convert" -l unsafe -f -d "Enable less safe operations"
|
||||
|
||||
# convert toJSON
|
||||
complete -c hugo -n "__fish_hugo_using_command convert" -f -a toJSON -d "Convert front matter to JSON"
|
||||
|
@ -137,40 +137,40 @@ complete -c hugo -n "__fish_hugo_using_command gen" -s h -l help -f -d "Help for
|
|||
|
||||
# gen autocomplete
|
||||
complete -c hugo -n "__fish_hugo_using_command gen" -f -a autocomplete -d "Generate shell autocompletion script for Hugo"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen autocomplete" -l completionfile -r -d "Autocompletion file"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen autocomplete" -s h -l help -f -d "Help for autocomplete"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen autocomplete" -l type -f -a bash -d "Autocompletion type"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen autocomplete" -l completionfile -r -d "Autocompletion file"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen autocomplete" -s h -l help -f -d "Help for autocomplete"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen autocomplete" -l type -f -a bash -d "Autocompletion type"
|
||||
|
||||
# gen chromastyles
|
||||
complete -c hugo -n "__fish_hugo_using_command gen" -f -a chromastyles -d "Generate CSS stylesheet for the Chroma code highlighter"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen chromastyles" -s h -l help -f -d "Help for chromastyles"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen chromastyles" -l highlightStyle -r -d "Style used for highlighting lines"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen chromastyles" -l lineStyle -r -d "Style used for line numbers"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen chromastyles" -l style -r -d "Highlighter style"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen chromastyles" -s h -l help -f -d "Help for chromastyles"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen chromastyles" -l highlightStyle -r -d "Style used for highlighting lines"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen chromastyles" -l lineStyle -r -d "Style used for line numbers"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen chromastyles" -l style -r -d "Highlighter style"
|
||||
|
||||
# gen doc
|
||||
complete -c hugo -n "__fish_hugo_using_command gen" -f -a doc -d "Generate Markdown documentation for the Hugo CLI"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen doc" -l dir -f -a "(__fish_complete_directories (commandline -ct) 'Doc directory')" -d "Doc directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen doc" -l dir -f -a "(__fish_complete_directories (commandline -ct) 'Doc directory')" -d "Doc directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen doc" -s h -l help -f -d "Help for doc"
|
||||
|
||||
# gen man
|
||||
complete -c hugo -n "__fish_hugo_using_command gen" -f -a man -d "Generate man pages for the Hugo CLI"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen man" -l dir -f -a "(__fish_complete_directories (commandline -ct) 'Man pages directory')" -d "Man pages directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen man" -l dir -f -a "(__fish_complete_directories (commandline -ct) 'Man pages directory')" -d "Man pages directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command gen man" -s h -l help -f -d "Help for man"
|
||||
|
||||
# import
|
||||
complete -c hugo -n "not __fish_hugo_command" -f -a import -d "Import your site from others"
|
||||
complete -c hugo -n "__fish_hugo_using_command import" -s h -l help -f -d "Help for import"
|
||||
complete -c hugo -n "__fish_hugo_using_command import" -s h -l help -f -d "Help for import"
|
||||
|
||||
# import jekyll
|
||||
complete -c hugo -n "__fish_hugo_using_command import" -f -a jekyll -d "Import from Jekyll"
|
||||
complete -c hugo -n "__fish_hugo_using_command import jekyll" -l force -f -d "Allow import into non-empty target directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command import jekyll" -s h -l help -f -d "Help for jekyll"
|
||||
complete -c hugo -n "__fish_hugo_using_command import jekyll" -l force -f -d "Allow import into non-empty target directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command import jekyll" -s h -l help -f -d "Help for jekyll"
|
||||
|
||||
# list
|
||||
complete -c hugo -n "not __fish_hugo_command" -f -a list -d "List various types of content"
|
||||
complete -c hugo -n "__fish_hugo_using_command list" -s h -l help -f -d "Help for list"
|
||||
complete -c hugo -n "__fish_hugo_using_command list" -s s -l source -f -a "(__fish_complete_directories (commandline -ct) 'Source directory')" -d "Source directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command list" -s h -l help -f -d "Help for list"
|
||||
complete -c hugo -n "__fish_hugo_using_command list" -s s -l source -f -a "(__fish_complete_directories (commandline -ct) 'Source directory')" -d "Source directory"
|
||||
|
||||
# list drafts
|
||||
complete -c hugo -n "__fish_hugo_using_command list" -f -a drafts -d "List all drafts"
|
||||
|
@ -186,16 +186,16 @@ complete -c hugo -n "__fish_hugo_using_command list future" -s h -l help -f -d "
|
|||
|
||||
# new
|
||||
complete -c hugo -n "not __fish_hugo_command" -f -a new -d "Create new content"
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -l editor -r -d "Editor to use"
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -s h -l help -f -d "Help for new"
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -s k -l kind -r -d "Content type to create"
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -l editor -r -d "Editor to use"
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -s h -l help -f -d "Help for new"
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -s k -l kind -r -d "Content type to create"
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -s s -l source -f -a "(__fish_complete_directories (commandline -ct) 'Source directory')" -d "Source directory"
|
||||
|
||||
# new site
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -f -a site -d "Create a new site"
|
||||
complete -c hugo -n "__fish_hugo_using_command new site" -l force -f -d "Create site inside non-empty directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command new site" -l force -f -d "Create site inside non-empty directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command new site" -s f -l format -r -d "Config and front matter format"
|
||||
complete -c hugo -n "__fish_hugo_using_command new site" -s h -l help -f -d "Help for site"
|
||||
complete -c hugo -n "__fish_hugo_using_command new site" -s h -l help -f -d "Help for site"
|
||||
|
||||
# new theme
|
||||
complete -c hugo -n "__fish_hugo_using_command new" -f -a theme -d "Create a new theme"
|
||||
|
@ -203,18 +203,18 @@ complete -c hugo -n "__fish_hugo_using_command new theme" -s h -l help -f -d "He
|
|||
|
||||
# server
|
||||
complete -c hugo -n "not __fish_hugo_command" -f -a server -d "Start high performance web server"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l appendPort -f -d "Append port to baseurl"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l bind -r -d "Interface to which the server will bind"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l disableFastRender -f -d "Enable full re-renders on changes"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l disableLiveReload -f -d "Watch without enabling live browser reload on rebuild"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -s h -l help -f -d "Help for server"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l liveReloadPort -r -d "Port for live reloading"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l meminterval -f -d "Interval to poll memory usage"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l memstats -f -d "Memory usage log file"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l navigateToChanged -f -d "Navigate to changed content file on live browser reload"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l noHTTPCache -f -d "Prevent HTTP caching"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -s p -l port -r -d "Port on which the server will listen"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l renderToDisk -r -d "Render to destination directory"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l appendPort -f -d "Append port to baseurl"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l bind -r -d "Interface to which the server will bind"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l disableFastRender -f -d "Enable full re-renders on changes"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l disableLiveReload -f -d "Watch without enabling live browser reload on rebuild"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -s h -l help -f -d "Help for server"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l liveReloadPort -r -d "Port for live reloading"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l meminterval -f -d "Interval to poll memory usage"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l memstats -f -d "Memory usage log file"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l navigateToChanged -f -d "Navigate to changed content file on live browser reload"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l noHTTPCache -f -d "Prevent HTTP caching"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -s p -l port -r -d "Port on which the server will listen"
|
||||
complete -c hugo -n "__fish_hugo_using_command server" -l renderToDisk -r -d "Render to destination directory"
|
||||
|
||||
# undraft
|
||||
complete -c hugo -n "not __fish_hugo_command" -f -a undraft -d "Reset the content draft status"
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
complete -c identify -o antialias -d 'Remove pixel-aliasing '
|
||||
complete -c identify -o authenticate -d 'Decrypt image with this password [value]'
|
||||
complete -c identify -o channel -d 'Apply option to select image channels [type]' -xa '(identify -list channel)'
|
||||
complete -c identify -o crop -d 'Cut out a rectangular region of the image [geometry]'
|
||||
complete -c identify -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c identify -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c identify -o depth -d 'Image depth [value]'
|
||||
complete -c identify -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c identify -o features -d 'Display image features (e.g. contrast, correlation) [distance]'
|
||||
complete -c identify -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c identify -o fuzz -d 'Colors within this distance are considered equal [distance]'
|
||||
complete -c identify -o interlace -d 'Type of image interlacing scheme [type]' -xa '(identify -list interlace)'
|
||||
complete -c identify -o interpolate -d 'Pixel color interpolation method [method]' -xa '(identify -list interpolate)'
|
||||
complete -c identify -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c identify -o list -d 'Color, Configure, Delegate, Format, Magic, Module, Resource, or Type [type]' -xa '(identify -list list)'
|
||||
complete -c identify -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c identify -o monitor -d 'Monitor progress '
|
||||
complete -c identify -o ping -d 'Efficiently determine image attributes'
|
||||
complete -c identify -o quiet -d 'Suppress all warning messages'
|
||||
complete -c identify -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c identify -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c identify -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c identify -o set -d 'Attribute set an image attribute [ value]'
|
||||
complete -c identify -o size -d 'Width and height of image [geometry]'
|
||||
complete -c identify -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c identify -o unique -d 'Display the number of unique colors in the image'
|
||||
complete -c identify -o units -d 'The units of image resolution [type]' -xa '(identify -list units)'
|
||||
complete -c identify -o verbose -d 'Print detailed information about the image'
|
||||
complete -c identify -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(identify -list virtual-pixel)'
|
||||
complete -c identify -o negate -d 'Replace each pixel with its complementary color'
|
||||
complete -c identify -o debug -d 'Display copious debugging information [events]' -xa '(identify -list debug)'
|
||||
complete -c identify -o help -d 'Print program options'
|
||||
complete -c identify -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c identify -o antialias -d 'Remove pixel-aliasing '
|
||||
complete -c identify -o authenticate -d 'Decrypt image with this password [value]'
|
||||
complete -c identify -o channel -d 'Apply option to select image channels [type]' -xa '(identify -list channel)'
|
||||
complete -c identify -o crop -d 'Cut out a rectangular region of the image [geometry]'
|
||||
complete -c identify -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c identify -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c identify -o depth -d 'Image depth [value]'
|
||||
complete -c identify -o extract -d 'Extract area from image [geometry]'
|
||||
complete -c identify -o features -d 'Display image features (e.g. contrast, correlation) [distance]'
|
||||
complete -c identify -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c identify -o fuzz -d 'Colors within this distance are considered equal [distance]'
|
||||
complete -c identify -o interlace -d 'Type of image interlacing scheme [type]' -xa '(identify -list interlace)'
|
||||
complete -c identify -o interpolate -d 'Pixel color interpolation method [method]' -xa '(identify -list interpolate)'
|
||||
complete -c identify -o limit -d 'Pixel cache resource limit [type value]' -x
|
||||
complete -c identify -o list -d 'Color, Configure, Delegate, Format, Magic, Module, Resource, or Type [type]' -xa '(identify -list list)'
|
||||
complete -c identify -o matte -d 'Store matte channel if the image has one'
|
||||
complete -c identify -o monitor -d 'Monitor progress '
|
||||
complete -c identify -o ping -d 'Efficiently determine image attributes'
|
||||
complete -c identify -o quiet -d 'Suppress all warning messages'
|
||||
complete -c identify -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c identify -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c identify -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c identify -o set -d 'Attribute set an image attribute [ value]'
|
||||
complete -c identify -o size -d 'Width and height of image [geometry]'
|
||||
complete -c identify -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c identify -o unique -d 'Display the number of unique colors in the image'
|
||||
complete -c identify -o units -d 'The units of image resolution [type]' -xa '(identify -list units)'
|
||||
complete -c identify -o verbose -d 'Print detailed information about the image'
|
||||
complete -c identify -o virtual-pixel -d 'Virtual pixel access method [method]' -xa '(identify -list virtual-pixel)'
|
||||
complete -c identify -o negate -d 'Replace each pixel with its complementary color'
|
||||
complete -c identify -o debug -d 'Display copious debugging information [events]' -xa '(identify -list debug)'
|
||||
complete -c identify -o help -d 'Print program options'
|
||||
complete -c identify -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
complete -f -c iex -s v -d "Prints version and exit"
|
||||
complete -f -c iex -s e -d "Evaluates the given command"
|
||||
complete -c iex -s r -d "Requires the given files/patterns"
|
||||
complete -c iex -s S -d "Finds and executes the given script"
|
||||
complete -c iex -s pr -d "Requires the given files/patterns in parallel"
|
||||
complete -c iex -s pa -d "Prepends the given path to Erlang code path"
|
||||
complete -c iex -s pz -d "Appends the given path to Erlang code path"
|
||||
complete -c iex -l app -d "Start the given app and its dependencies"
|
||||
complete -f -c iex -l erl -d "Switches to be passed down to erlang"
|
||||
complete -f -c iex -l name -d "Makes and assigns a name to the distributed node"
|
||||
complete -f -c iex -l sname -d "Makes and assigns a short name to the distributed node"
|
||||
complete -f -c iex -l cookie -d "Sets a cookie for this distributed node"
|
||||
complete -f -c iex -l hidden -d "Makes a hidden node"
|
||||
complete -f -c iex -s v -d "Prints version and exit"
|
||||
complete -f -c iex -s e -d "Evaluates the given command"
|
||||
complete -c iex -s r -d "Requires the given files/patterns"
|
||||
complete -c iex -s S -d "Finds and executes the given script"
|
||||
complete -c iex -s pr -d "Requires the given files/patterns in parallel"
|
||||
complete -c iex -s pa -d "Prepends the given path to Erlang code path"
|
||||
complete -c iex -s pz -d "Appends the given path to Erlang code path"
|
||||
complete -c iex -l app -d "Start the given app and its dependencies"
|
||||
complete -f -c iex -l erl -d "Switches to be passed down to erlang"
|
||||
complete -f -c iex -l name -d "Makes and assigns a name to the distributed node"
|
||||
complete -f -c iex -l sname -d "Makes and assigns a short name to the distributed node"
|
||||
complete -f -c iex -l cookie -d "Sets a cookie for this distributed node"
|
||||
complete -f -c iex -l hidden -d "Makes a hidden node"
|
||||
complete -f -c iex -l detached -d "Starts the Erlang VM detached from console"
|
||||
complete -f -c iex -l remsh -d "Connects to a node using a remote shell"
|
||||
complete -c iex -l dot-iex -d "Overrides default .iex file and uses path instead; path can be empty, then no file will be loaded"
|
||||
complete -f -c iex -l remsh -d "Connects to a node using a remote shell"
|
||||
complete -c iex -l dot-iex -d "Overrides default .iex file and uses path instead; path can be empty, then no file will be loaded"
|
|
@ -1,31 +1,31 @@
|
|||
complete -c ifdata -xa '(__fish_print_interfaces)'
|
||||
complete -c ifdata -o e -d 'Reports interface existence via return code'
|
||||
complete -c ifdata -o p -d 'Print out the whole config of iface'
|
||||
complete -c ifdata -o pe -d 'Print out yes or no according to existence'
|
||||
complete -c ifdata -o pa -d 'Print out the address'
|
||||
complete -c ifdata -o pn -d 'Print netmask'
|
||||
complete -c ifdata -o pN -d 'Print network address'
|
||||
complete -c ifdata -o pb -d 'Print broadcast'
|
||||
complete -c ifdata -o pm -d 'Print mtu'
|
||||
complete -c ifdata -o ph -d 'Print out the hardware address'
|
||||
complete -c ifdata -o pf -d 'Print flags'
|
||||
complete -c ifdata -o si -d 'Print all statistics on input'
|
||||
complete -c ifdata -o sip -d 'Print # of in packets'
|
||||
complete -c ifdata -o sib -d 'Print # of in bytes'
|
||||
complete -c ifdata -o sie -d 'Print # of in errors'
|
||||
complete -c ifdata -o sid -d 'Print # of in drops'
|
||||
complete -c ifdata -o sif -d 'Print # of in fifo overruns'
|
||||
complete -c ifdata -o sic -d 'Print # of in compress'
|
||||
complete -c ifdata -o sim -d 'Print # of in multicast'
|
||||
complete -c ifdata -o so -d 'Print all statistics on output'
|
||||
complete -c ifdata -o sop -d 'Print # of out packets'
|
||||
complete -c ifdata -o sob -d 'Print # of out bytes'
|
||||
complete -c ifdata -o soe -d 'Print # of out errors'
|
||||
complete -c ifdata -o sod -d 'Print # of out drops'
|
||||
complete -c ifdata -o sof -d 'Print # of out fifo overruns'
|
||||
complete -c ifdata -o sox -d 'Print # of out collisions'
|
||||
complete -c ifdata -o soc -d 'Print # of out carrier loss'
|
||||
complete -c ifdata -o som -d 'Print # of out multicast'
|
||||
complete -c ifdata -o bips -d 'Print # of incoming bytes per second'
|
||||
complete -c ifdata -o bops -d 'Print # of outgoing bytes per second'
|
||||
complete -c ifdata -o e -d 'Reports interface existence via return code'
|
||||
complete -c ifdata -o p -d 'Print out the whole config of iface'
|
||||
complete -c ifdata -o pe -d 'Print out yes or no according to existence'
|
||||
complete -c ifdata -o pa -d 'Print out the address'
|
||||
complete -c ifdata -o pn -d 'Print netmask'
|
||||
complete -c ifdata -o pN -d 'Print network address'
|
||||
complete -c ifdata -o pb -d 'Print broadcast'
|
||||
complete -c ifdata -o pm -d 'Print mtu'
|
||||
complete -c ifdata -o ph -d 'Print out the hardware address'
|
||||
complete -c ifdata -o pf -d 'Print flags'
|
||||
complete -c ifdata -o si -d 'Print all statistics on input'
|
||||
complete -c ifdata -o sip -d 'Print # of in packets'
|
||||
complete -c ifdata -o sib -d 'Print # of in bytes'
|
||||
complete -c ifdata -o sie -d 'Print # of in errors'
|
||||
complete -c ifdata -o sid -d 'Print # of in drops'
|
||||
complete -c ifdata -o sif -d 'Print # of in fifo overruns'
|
||||
complete -c ifdata -o sic -d 'Print # of in compress'
|
||||
complete -c ifdata -o sim -d 'Print # of in multicast'
|
||||
complete -c ifdata -o so -d 'Print all statistics on output'
|
||||
complete -c ifdata -o sop -d 'Print # of out packets'
|
||||
complete -c ifdata -o sob -d 'Print # of out bytes'
|
||||
complete -c ifdata -o soe -d 'Print # of out errors'
|
||||
complete -c ifdata -o sod -d 'Print # of out drops'
|
||||
complete -c ifdata -o sof -d 'Print # of out fifo overruns'
|
||||
complete -c ifdata -o sox -d 'Print # of out collisions'
|
||||
complete -c ifdata -o soc -d 'Print # of out carrier loss'
|
||||
complete -c ifdata -o som -d 'Print # of out multicast'
|
||||
complete -c ifdata -o bips -d 'Print # of incoming bytes per second'
|
||||
complete -c ifdata -o bops -d 'Print # of outgoing bytes per second'
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
complete -x -c ifup -a "(__fish_print_interfaces)" -d "Network interface"
|
||||
complete -c ifup -l force -d "force"
|
||||
complete -c ifup -l force -d "force"
|
||||
|
|
|
@ -1,69 +1,69 @@
|
|||
complete -c import -o adjoin -d 'Join images into a single multi-image file'
|
||||
complete -c import -o border -d 'Include window border in the output image'
|
||||
complete -c import -o channel -d 'Apply option to select image channels [type]' -xa '(import -list channel)'
|
||||
complete -c import -o colorspace -d 'Alternate image colorspace [type]' -xa '(import -list colorspace)'
|
||||
complete -c import -o comment -d 'Annotate image with comment [string]'
|
||||
complete -c import -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(import -list compress)'
|
||||
complete -c import -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c import -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c import -o depth -d 'Image depth [value]'
|
||||
complete -c import -o descend -d 'Obtain image by descending window hierarchy'
|
||||
complete -c import -o display -d 'X server to contact [server]'
|
||||
complete -c import -o dispose -d 'Layer disposal method [method]' -xa '(import -list dispose)'
|
||||
complete -c import -o dither -d 'Apply error diffusion to image [method]' -xa '(import -list dither)'
|
||||
complete -c import -o delay -d 'Display the next image after pausing [value]'
|
||||
complete -c import -o encipher -d 'Convert plain pixels to cipher pixels [filename]' -r
|
||||
complete -c import -o endian -d 'Endianness (MSB or LSB) of the image [type]' -xa '(import -list endian)'
|
||||
complete -c import -o encoding -d 'Encoding type [type text]' -xa '(__fish_print_encodings)'
|
||||
complete -c import -o filter -d 'Use this filter when resizing an image [type]' -xa '(import -list filter)'
|
||||
complete -c import -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c import -o frame -d 'Include window manager frame'
|
||||
complete -c import -o gravity -d 'Direction which direction to gravitate towards'
|
||||
complete -c import -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c import -o interlace -d 'None, Line, Plane, or Partition [type]' -xa '(import -list interlace)'
|
||||
complete -c import -o interpolate -d 'Pixel color interpolation method [method]' -xa '(import -list interpolate)'
|
||||
complete -c import -o label -d 'Assign a label to an image [string]'
|
||||
complete -c import -o limit -d 'Area, Disk, Map, or Memory resource limit [type value]' -x
|
||||
complete -c import -o monitor -d 'Monitor progress '
|
||||
complete -c import -o page -d 'Size and location of an image canvas [geometry]'
|
||||
complete -c import -o pause -d 'Seconds delay between snapshots [value]'
|
||||
complete -c import -o pointsize -d 'Font point size [value]'
|
||||
complete -c import -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c import -o quiet -d 'Suppress all warning messages'
|
||||
complete -c import -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c import -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c import -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c import -o scene -d 'Image scene number [value]'
|
||||
complete -c import -o screen -d 'Select image from root window'
|
||||
complete -c import -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c import -o set -d 'Set an image property [property value]'
|
||||
complete -c import -o silent -d 'Operate silently, i.e. don\'t ring any bells '
|
||||
complete -c import -o snaps -d 'Number of screen snapshots [value]'
|
||||
complete -c import -o synchronize -d 'Synchronize image to storage device'
|
||||
complete -c import -o taint -d 'Declare the image as modified'
|
||||
complete -c import -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c import -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c import -o verbose -d 'Print detailed information about the image'
|
||||
complete -c import -o virtual-pixel -d 'Constant, Edge, Mirror, or Tile [method]' -xa '(import -list virtual-pixel)'
|
||||
complete -c import -o window -d 'Select window with this id or name [id]' -xa 'root (__fish_print_xwindows)'
|
||||
complete -c import -o annotate -d 'Annotate the image with text [geometry text]'
|
||||
complete -c import -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c import -o crop -d 'Preferred size and location of the cropped image [geometry]'
|
||||
complete -c import -o geometry -d 'Preferred size or location of the image [geometry]'
|
||||
complete -c import -o help -d 'Print program options'
|
||||
complete -c import -o monochrome -d 'Transform image to black and white'
|
||||
complete -c import -o negate -d 'Replace every pixel with its complementary color '
|
||||
complete -c import -o repage -d 'Size and location of an image canvas [geometry]'
|
||||
complete -c import -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(import -list colorspace)'
|
||||
complete -c import -o resize -d 'Resize the image [geometry]'
|
||||
complete -c import -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c import -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c import -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c import -o transparent -d 'Make this color transparent within the image [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c import -o trim -d 'Trim image edges'
|
||||
complete -c import -o type -d 'Image type [type]' -xa '(import -list type)'
|
||||
complete -c import -o debug -d 'Display copious debugging information [events]' -xa '(import -list debug)'
|
||||
complete -c import -o list -d 'Print a list of supported option arguments [type]' -xa '(import -list list)'
|
||||
complete -c import -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c import -o version -d 'Print version information'
|
||||
complete -c import -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
complete -c import -o adjoin -d 'Join images into a single multi-image file'
|
||||
complete -c import -o border -d 'Include window border in the output image'
|
||||
complete -c import -o channel -d 'Apply option to select image channels [type]' -xa '(import -list channel)'
|
||||
complete -c import -o colorspace -d 'Alternate image colorspace [type]' -xa '(import -list colorspace)'
|
||||
complete -c import -o comment -d 'Annotate image with comment [string]'
|
||||
complete -c import -o compress -d 'Type of pixel compression when writing the image [type]' -xa '(import -list compress)'
|
||||
complete -c import -o define -d 'Define one or more image format options [format:option]'
|
||||
complete -c import -o density -d 'Horizontal and vertical density of the image [geometry]'
|
||||
complete -c import -o depth -d 'Image depth [value]'
|
||||
complete -c import -o descend -d 'Obtain image by descending window hierarchy'
|
||||
complete -c import -o display -d 'X server to contact [server]'
|
||||
complete -c import -o dispose -d 'Layer disposal method [method]' -xa '(import -list dispose)'
|
||||
complete -c import -o dither -d 'Apply error diffusion to image [method]' -xa '(import -list dither)'
|
||||
complete -c import -o delay -d 'Display the next image after pausing [value]'
|
||||
complete -c import -o encipher -d 'Convert plain pixels to cipher pixels [filename]' -r
|
||||
complete -c import -o endian -d 'Endianness (MSB or LSB) of the image [type]' -xa '(import -list endian)'
|
||||
complete -c import -o encoding -d 'Encoding type [type text]' -xa '(__fish_print_encodings)'
|
||||
complete -c import -o filter -d 'Use this filter when resizing an image [type]' -xa '(import -list filter)'
|
||||
complete -c import -o format -d 'Output formatted image characteristics ["string"]'
|
||||
complete -c import -o frame -d 'Include window manager frame'
|
||||
complete -c import -o gravity -d 'Direction which direction to gravitate towards'
|
||||
complete -c import -o identify -d 'Identify the format and characteristics of the image'
|
||||
complete -c import -o interlace -d 'None, Line, Plane, or Partition [type]' -xa '(import -list interlace)'
|
||||
complete -c import -o interpolate -d 'Pixel color interpolation method [method]' -xa '(import -list interpolate)'
|
||||
complete -c import -o label -d 'Assign a label to an image [string]'
|
||||
complete -c import -o limit -d 'Area, Disk, Map, or Memory resource limit [type value]' -x
|
||||
complete -c import -o monitor -d 'Monitor progress '
|
||||
complete -c import -o page -d 'Size and location of an image canvas [geometry]'
|
||||
complete -c import -o pause -d 'Seconds delay between snapshots [value]'
|
||||
complete -c import -o pointsize -d 'Font point size [value]'
|
||||
complete -c import -o quality -d 'JPEG/MIFF/PNG compression level [value]'
|
||||
complete -c import -o quiet -d 'Suppress all warning messages'
|
||||
complete -c import -o regard-warnings -d 'Pay attention to warning messages'
|
||||
complete -c import -o respect-parentheses -d 'Settings remain in effect until parenthesis boundary'
|
||||
complete -c import -o sampling-factor -d 'Horizontal and vertical sampling factor [geometry]'
|
||||
complete -c import -o scene -d 'Image scene number [value]'
|
||||
complete -c import -o screen -d 'Select image from root window'
|
||||
complete -c import -o seed -d 'Seed a new sequence of pseudo-random numbers [value]'
|
||||
complete -c import -o set -d 'Set an image property [property value]'
|
||||
complete -c import -o silent -d 'Operate silently, i.e. don\'t ring any bells '
|
||||
complete -c import -o snaps -d 'Number of screen snapshots [value]'
|
||||
complete -c import -o synchronize -d 'Synchronize image to storage device'
|
||||
complete -c import -o taint -d 'Declare the image as modified'
|
||||
complete -c import -o transparent-color -d 'Transparent color [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c import -o treedepth -d 'Color tree depth [value]'
|
||||
complete -c import -o verbose -d 'Print detailed information about the image'
|
||||
complete -c import -o virtual-pixel -d 'Constant, Edge, Mirror, or Tile [method]' -xa '(import -list virtual-pixel)'
|
||||
complete -c import -o window -d 'Select window with this id or name [id]' -xa 'root (__fish_print_xwindows)'
|
||||
complete -c import -o annotate -d 'Annotate the image with text [geometry text]'
|
||||
complete -c import -o colors -d 'Preferred number of colors in the image [value]'
|
||||
complete -c import -o crop -d 'Preferred size and location of the cropped image [geometry]'
|
||||
complete -c import -o geometry -d 'Preferred size or location of the image [geometry]'
|
||||
complete -c import -o help -d 'Print program options'
|
||||
complete -c import -o monochrome -d 'Transform image to black and white'
|
||||
complete -c import -o negate -d 'Replace every pixel with its complementary color '
|
||||
complete -c import -o repage -d 'Size and location of an image canvas [geometry]'
|
||||
complete -c import -o quantize -d 'Reduce colors in this colorspace [colorspace]' -xa '(import -list colorspace)'
|
||||
complete -c import -o resize -d 'Resize the image [geometry]'
|
||||
complete -c import -o rotate -d 'Apply Paeth rotation to the image [degrees]'
|
||||
complete -c import -o strip -d 'Strip image of all profiles and comments'
|
||||
complete -c import -o thumbnail -d 'Create a thumbnail of the image [geometry]'
|
||||
complete -c import -o transparent -d 'Make this color transparent within the image [color]' -xa '(__fish_complete_convert_options color)'
|
||||
complete -c import -o trim -d 'Trim image edges'
|
||||
complete -c import -o type -d 'Image type [type]' -xa '(import -list type)'
|
||||
complete -c import -o debug -d 'Display copious debugging information [events]' -xa '(import -list debug)'
|
||||
complete -c import -o list -d 'Print a list of supported option arguments [type]' -xa '(import -list list)'
|
||||
complete -c import -o log -d 'Format of debugging information [format]' -xa '(__fish_complete_convert_options format)'
|
||||
complete -c import -o version -d 'Print version information'
|
||||
complete -c import -o support -d 'Resize support: > 1.0 is blurry, < 1.0 is sharp [factor]'
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
function __fish_invoke_rcd_has_service
|
||||
set tokens (commandline -opc)
|
||||
if [ (count $tokens) -eq 2 ]
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
end
|
||||
set tokens (commandline -opc)
|
||||
if [ (count $tokens) -eq 2 ]
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
end
|
||||
end
|
||||
|
||||
complete -f -c invoke-rc.d -n 'not __fish_invoke_rcd_has_service' -a '(__fish_print_debian_services)'
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
function __fish_ipset_nosubcommand
|
||||
if __fish_seen_subcommand_from create add del test destroy list save restore flush rename swap help version
|
||||
return 1
|
||||
end
|
||||
return 0
|
||||
if __fish_seen_subcommand_from create add del test destroy list save restore flush rename swap help version
|
||||
return 1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
function __fish_ipset_needs_setname
|
||||
if __fish_seen_subcommand_from add del test destroy list save restore flush rename swap
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
if __fish_seen_subcommand_from add del test destroy list save restore flush rename swap
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_ipset_list_sets
|
||||
set -l ipset_list (ipset list --name 2>/dev/null)
|
||||
if not __fish_seen_subcommand_from $ipset_list
|
||||
echo $ipset_list
|
||||
end
|
||||
set -l ipset_list (ipset list --name 2>/dev/null)
|
||||
if not __fish_seen_subcommand_from $ipset_list
|
||||
echo $ipset_list
|
||||
end
|
||||
end
|
||||
|
||||
complete -c ipset --no-files --condition __fish_ipset_nosubcommand -a 'create' -d 'Create a set identified with SETNAME'
|
||||
|
@ -29,7 +29,7 @@ complete -c ipset --no-files --condition __fish_ipset_nosubcommand -a 'list' -d
|
|||
|
||||
complete -c ipset --no-files --condition __fish_ipset_needs_setname -a '(__fish_ipset_list_sets)'
|
||||
|
||||
complete -c ipset --no-files -s '!' -o 'exist' -d 'Ignore errors'
|
||||
complete -c ipset --no-files -s ! -o 'exist' -d 'Ignore errors'
|
||||
complete -c ipset --no-files -s 'o' -o 'output' -a 'plain save xml' -d 'Output format to the list command'
|
||||
complete -c ipset --no-files -s 'q' -o 'quiet' -d 'Suppress any output'
|
||||
complete -c ipset --no-files -s 'r' -o 'resolve' -d 'Enforce name lookup'
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
function __history_completions --argument limit
|
||||
if echo $limit | string match -q ""
|
||||
set limit 25
|
||||
end
|
||||
if echo $limit | string match -q ""
|
||||
set limit 25
|
||||
end
|
||||
|
||||
set -l tokens (commandline --current-process --tokenize)
|
||||
history --prefix (commandline) | string replace -r \^$tokens[1]\\s\* "" | head -n$limit
|
||||
set -l tokens (commandline --current-process --tokenize)
|
||||
history --prefix (commandline) | string replace -r \^$tokens[1]\\s\* "" | head -n$limit
|
||||
end
|
||||
|
||||
# erase the stock autojump completions, which are no longer needed with this
|
||||
|
|
|
@ -11,27 +11,27 @@ function __fish_prog_needs_command
|
|||
end
|
||||
|
||||
# Options
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -s d -l debug -d 'Enable debugger'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -s h -l help -d 'Output usage information'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -s d -l debug -d 'Enable debugger'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -s h -l help -d 'Output usage information'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -s V -l version -d 'Output version number'
|
||||
|
||||
# Commands
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a app -d 'Create a new JHipster application'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a aws -d 'Deploy the current application to AWS'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a ci-cd -d 'Create pipeline scripts for popular CI tools'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a client -d 'Create a new JHipster client-side application'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a cloudfoundry -d 'Prepare Cloud Foundry deployment'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a docker-compose -d 'Create all required Docker deployment configuration for the selected applications'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a entity -d 'Create a new JHipster entity: JPA entity, Spring server-side components and Angular client-side components'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a export-jdl -d 'Create a JDL file from the existing entities'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a heroku -d 'Deploy the current application to Heroku'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a import-jdl -d 'Create entities from the JDL file passed in argument'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a info -d 'Display information about your current project and system'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a kubernetes -d 'Deploy the current application to Kubernetes'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a languages -d 'Select languages from a list of available languages. The i18n files will be copied to the /webapp/i18n folder'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a openshift -d 'Deploy the current application to OpenShift'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a rancher-compose -d 'Deploy the current application to Rancher'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a server -d 'Create a new JHipster server-side application'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a service -d 'Create a new Spring service bean'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a upgrade -d 'Upgrade the JHipster version and the generated application'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a completion -d 'Print command completion script'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a app -d 'Create a new JHipster application'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a aws -d 'Deploy the current application to AWS'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a ci-cd -d 'Create pipeline scripts for popular CI tools'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a client -d 'Create a new JHipster client-side application'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a cloudfoundry -d 'Prepare Cloud Foundry deployment'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a docker-compose -d 'Create all required Docker deployment configuration for the selected applications'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a entity -d 'Create a new JHipster entity: JPA entity, Spring server-side components and Angular client-side components'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a export-jdl -d 'Create a JDL file from the existing entities'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a heroku -d 'Deploy the current application to Heroku'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a import-jdl -d 'Create entities from the JDL file passed in argument'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a info -d 'Display information about your current project and system'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a kubernetes -d 'Deploy the current application to Kubernetes'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a languages -d 'Select languages from a list of available languages. The i18n files will be copied to the /webapp/i18n folder'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a openshift -d 'Deploy the current application to OpenShift'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a rancher-compose -d 'Deploy the current application to Rancher'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a server -d 'Create a new JHipster server-side application'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -r -a service -d 'Create a new Spring service bean'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a upgrade -d 'Upgrade the JHipster version and the generated application'
|
||||
complete -f -c jhipster -n '__fish_prog_needs_command' -a completion -d 'Print command completion script'
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
__fish_make_completion_signals
|
||||
|
||||
for i in $__kill_signals
|
||||
set number (echo $i | cut -d " " -f 1)
|
||||
set name (echo $i | cut -d " " -f 2)
|
||||
complete -c kill -o $number -d $name
|
||||
complete -c kill -o $name
|
||||
complete -c kill -s s -x -a "$number $name"
|
||||
set number (echo $i | cut -d " " -f 1)
|
||||
set name (echo $i | cut -d " " -f 2)
|
||||
complete -c kill -o $number -d $name
|
||||
complete -c kill -o $name
|
||||
complete -c kill -s s -x -a "$number $name"
|
||||
end
|
||||
|
||||
complete -c kill -xa '(__fish_complete_pids)'
|
||||
|
||||
if kill -L > /dev/null 2>/dev/null
|
||||
complete -c kill -s s -l signal -d "Signal to send"
|
||||
complete -c kill -s l -l list -d "Printf list of signal names, or name of given SIG NUMBER"
|
||||
complete -c kill -s L -l table -d " Print signal names and their corresponding numbers"
|
||||
complete -c kill -s a -l all -d "Do not restrict the commandname-to-pid conversion to processes with the same uid as the present process"
|
||||
complete -c kill -s p -l pid -d "Only print pid of the named processes, do not send any signals"
|
||||
complete -c kill -s q -l queue -d "Use sigqueue(2) rather than kill(2). The value argument is an integer that is sent along with the signal."
|
||||
complete -c kill -l verbos -d "Print pid(s) that will be signaled with kill along with the signal."
|
||||
if kill -L >/dev/null 2>/dev/null
|
||||
complete -c kill -s s -l signal -d "Signal to send"
|
||||
complete -c kill -s l -l list -d "Printf list of signal names, or name of given SIG NUMBER"
|
||||
complete -c kill -s L -l table -d " Print signal names and their corresponding numbers"
|
||||
complete -c kill -s a -l all -d "Do not restrict the commandname-to-pid conversion to processes with the same uid as the present process"
|
||||
complete -c kill -s p -l pid -d "Only print pid of the named processes, do not send any signals"
|
||||
complete -c kill -s q -l queue -d "Use sigqueue(2) rather than kill(2). The value argument is an integer that is sent along with the signal."
|
||||
complete -c kill -l verbos -d "Print pid(s) that will be signaled with kill along with the signal."
|
||||
else # OS X
|
||||
complete -c kill -s s -d "Signal to send"
|
||||
complete -c kill -s l -d "Printf list of signal names, or name of given SIG NUMBER"
|
||||
complete -c kill -s s -d "Signal to send"
|
||||
complete -c kill -s l -d "Printf list of signal names, or name of given SIG NUMBER"
|
||||
end
|
|
@ -1,18 +1,18 @@
|
|||
# Fish Shell command-line completions for Test Kitchen
|
||||
|
||||
function __fish_kitchen_no_command -d 'Test if kitchen has yet to be given the main command'
|
||||
set -l cmd (commandline -opc)
|
||||
test (count $cmd) -eq 1
|
||||
set -l cmd (commandline -opc)
|
||||
test (count $cmd) -eq 1
|
||||
end
|
||||
|
||||
function __fish_kitchen_using_command
|
||||
set -l cmd (commandline -opc)
|
||||
set -q cmd[2]; and test "$argv[1]" = $cmd[2]
|
||||
set -l cmd (commandline -opc)
|
||||
set -q cmd[2]; and test "$argv[1]" = $cmd[2]
|
||||
end
|
||||
|
||||
function __fish_kitchen_using_command_and_no_subcommand
|
||||
set -l cmd (commandline -opc)
|
||||
test (count $cmd) -eq 2; and test "$argv[1]" = "$cmd[2]"
|
||||
set -l cmd (commandline -opc)
|
||||
test (count $cmd) -eq 2; and test "$argv[1]" = "$cmd[2]"
|
||||
end
|
||||
|
||||
function __fish_kitchen_using_subcommand --argument-names cmd_main cmd_sub
|
||||
|
@ -46,9 +46,9 @@ complete -c kitchen -f -n '__fish_kitchen_using_command list' -a '(__fish_kitche
|
|||
# diagnose commands
|
||||
complete -c kitchen -f -n '__fish_kitchen_no_command' -a diagnose -d "Show computed diagnostic configuration"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command diagnose' -s "l" -l "log_level" -d "Set the log level (debug, info, warn, error, fatal)"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command diagnose' -l "loader" -d "Include data loader diagnostics"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command diagnose' -l "instances" -d "Include instances diagnostics"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command diagnose' -l "all" -d "Include all diagnostics"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command diagnose' -l "loader" -d "Include data loader diagnostics"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command diagnose' -l "instances" -d "Include instances diagnostics"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command diagnose' -l "all" -d "Include all diagnostics"
|
||||
|
||||
# diagnose help
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command help' -a diagnose -d "Show computed diagnostic configuration"
|
||||
|
@ -122,7 +122,7 @@ complete -c kitchen -f -n '__fish_kitchen_using_command test' -s "c" -l "concurr
|
|||
complete -c kitchen -f -n '__fish_kitchen_using_command test' -s "p" -l "parallel" -d "[Future DEPRECATION, use --concurrency] Run a test against all matching instances concurrently. "
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command test' -s "l" -l "log_level" -d "Set the log level (debug, info, warn, error, fatal)"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command test' -s "d" -l "destroy" -d "Destroy strategy to use after testing (passing, always, never)."
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command test' -l "auto_init" -d "Invoke init command if .kitchen.yml is missing"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command test' -l "auto_init" -d "Invoke init command if .kitchen.yml is missing"
|
||||
|
||||
# test help
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command help' -a test -d "Test (destroy, create, converge, setup, verify and destroy) one or more instances"
|
||||
|
@ -143,7 +143,7 @@ complete -c kitchen -f -n '__fish_kitchen_using_command login' -a '(__fish_kitch
|
|||
# exec commands
|
||||
complete -c kitchen -f -n '__fish_kitchen_no_command' -a exec -d "Execute command on one or more instance"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command exec' -s "l" -l "log_level" -d "Set the log level (debug, info, warn, error, fatal)"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command exec' -s "c" -l "command" -d "execute via ssh"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command exec' -s "c" -l command -d "execute via ssh"
|
||||
|
||||
# exec help
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command help' -a exec -d "Execute command on one or more instance"
|
||||
|
@ -173,7 +173,7 @@ complete -c kitchen -f -n '__fish_kitchen_using_command help' -a console -d "Kit
|
|||
complete -c kitchen -f -n '__fish_kitchen_no_command' -a init -d "Adds some configuration to your cookbook so Kitchen can rock"
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command init' -s "D" -l "driver" -d "One or more Kitchen Driver gems to be installed or added to a Gemfile "
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command init' -s "P" -l "provisioner" -d "The default Kitchen Provisioner to use "
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command init' -l "create_gemfile" -d "Whether or not to create a Gemfile if one does not exist. Default: false "
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command init' -l "create_gemfile" -d "Whether or not to create a Gemfile if one does not exist. Default: false "
|
||||
|
||||
# init help
|
||||
complete -c kitchen -f -n '__fish_kitchen_using_command help' -a init -d "Adds some configuration to your cookbook so Kitchen can rock"
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
# Completions for the FreeBSD `kldload` kernel module load utility
|
||||
function __fish_list_kldload_options
|
||||
set -l klds (__fish_complete_suffix /boot/kernel/(commandline -ct) ".ko" | string replace -r '.*/(.+)\\.ko' '$1');
|
||||
# Completing available klds is fast, but completing it with a call to __fish_whatis
|
||||
# is decidedly not. With 846 modules (FreeBSD 11.1), fish --profile 'complete -C"kldload "' returns the following:
|
||||
# 10671 11892698 > complete -C"kldload "
|
||||
# A 12 second completion delay is obviously out of the question, so don't provide a description unless there are
|
||||
# fewer than 50 results.
|
||||
# Additionally, we can halve the time by not shelling out to `whatis` if we know the man file for the kernel module
|
||||
# in question does not exist, since the paths are hardcoded.
|
||||
set -l kld_count (count $klds)
|
||||
if test $kld_count -le 50 -a $kld_count -gt 0
|
||||
# print name and description
|
||||
for kld in $klds
|
||||
printf '%s\t%s\n' $kld (test -e /usr/share/man/man4/$kld.4.gz;
|
||||
set -l klds (__fish_complete_suffix /boot/kernel/(commandline -ct) ".ko" | string replace -r '.*/(.+)\\.ko' '$1')
|
||||
# Completing available klds is fast, but completing it with a call to __fish_whatis
|
||||
# is decidedly not. With 846 modules (FreeBSD 11.1), fish --profile 'complete -C"kldload "' returns the following:
|
||||
# 10671 11892698 > complete -C"kldload "
|
||||
# A 12 second completion delay is obviously out of the question, so don't provide a description unless there are
|
||||
# fewer than 50 results.
|
||||
# Additionally, we can halve the time by not shelling out to `whatis` if we know the man file for the kernel module
|
||||
# in question does not exist, since the paths are hardcoded.
|
||||
set -l kld_count (count $klds)
|
||||
if test $kld_count -le 50 -a $kld_count -gt 0
|
||||
# print name and description
|
||||
for kld in $klds
|
||||
printf '%s\t%s\n' $kld (test -e /usr/share/man/man4/$kld.4.gz;
|
||||
and __fish_whatis $kld; or echo "kernel module")
|
||||
end
|
||||
else if test $kld_count -gt 0
|
||||
# print name only
|
||||
printf '%s\n' $klds
|
||||
else
|
||||
# print name only (description won't exist since the kernel module isn't installed)
|
||||
__fish_complete_suffix .ko
|
||||
end
|
||||
end
|
||||
else if test $kld_count -gt 0
|
||||
# print name only
|
||||
printf '%s\n' $klds
|
||||
else
|
||||
# print name only (description won't exist since the kernel module isn't installed)
|
||||
__fish_complete_suffix .ko
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
function __fish_list_loaded_klds
|
||||
set -l klds (kldstat | string match -r '\b\S+.ko$')
|
||||
for kld in $klds
|
||||
if set -l description (__fish_whatis (string replace '.ko' '' -- $kld) "kernel module")
|
||||
printf '%s\t%s\n' $kld $description
|
||||
else
|
||||
printf '%s\n' $kld
|
||||
end
|
||||
end
|
||||
set -l klds (kldstat | string match -r '\b\S+.ko$')
|
||||
for kld in $klds
|
||||
if set -l description (__fish_whatis (string replace '.ko' '' -- $kld) "kernel module")
|
||||
printf '%s\t%s\n' $kld $description
|
||||
else
|
||||
printf '%s\n' $kld
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
complete -c kldunload -xa '(__fish_list_loaded_klds)'
|
||||
|
|
|
@ -1,72 +1,72 @@
|
|||
complete -c latexmk -x -a "(__fish_complete_suffix (commandline -ct) .tex '(La)TeX file')"
|
||||
complete -c latexmk -o bibtex -d 'use bibtex when needed (default)'
|
||||
complete -c latexmk -o bibtex- -d 'never use bibtex'
|
||||
complete -c latexmk -o bibtex -d 'use bibtex when needed (default)'
|
||||
complete -c latexmk -o bibtex- -d 'never use bibtex'
|
||||
complete -c latexmk -o bibtex-cond -d 'use bibtex when needed, but only if the bib files exist'
|
||||
complete -c latexmk -o bm -x -d 'Print message across the page when converting to postscript'
|
||||
complete -c latexmk -o bi -x -d 'Set contrast or intensity of banner'
|
||||
complete -c latexmk -o bs -x -d 'Set scale for banner'
|
||||
complete -c latexmk -o commands -d 'list commands used by latexmk for processing files'
|
||||
complete -c latexmk -o c -d 'clean up (remove) all nonessential files, except dvi, ps and pdf files'
|
||||
complete -c latexmk -o C -o CA -d 'clean up (remove) all nonessential files'
|
||||
complete -c latexmk -o CF -d 'Remove file of database of file information before doing other actions'
|
||||
complete -c latexmk -o cd -d 'Change to directory of source file when processing it'
|
||||
complete -c latexmk -o cd- -d 'Do NOT change to directory of source file when processing it'
|
||||
complete -c latexmk -o dependents -o -deps -d 'Show list of dependent files after processing'
|
||||
complete -c latexmk -o bm -x -d 'Print message across the page when converting to postscript'
|
||||
complete -c latexmk -o bi -x -d 'Set contrast or intensity of banner'
|
||||
complete -c latexmk -o bs -x -d 'Set scale for banner'
|
||||
complete -c latexmk -o commands -d 'list commands used by latexmk for processing files'
|
||||
complete -c latexmk -o c -d 'clean up (remove) all nonessential files, except dvi, ps and pdf files'
|
||||
complete -c latexmk -o C -o CA -d 'clean up (remove) all nonessential files'
|
||||
complete -c latexmk -o CF -d 'Remove file of database of file information before doing other actions'
|
||||
complete -c latexmk -o cd -d 'Change to directory of source file when processing it'
|
||||
complete -c latexmk -o cd- -d 'Do NOT change to directory of source file when processing it'
|
||||
complete -c latexmk -o dependents -o -deps -d 'Show list of dependent files after processing'
|
||||
complete -c latexmk -o dependents- -o -deps- -d 'Do not show list of dependent files'
|
||||
complete -c latexmk -o deps-out= -r -d 'Set name of output file for dependency list, and turn on showing of dependency list'
|
||||
complete -c latexmk -o dF -x -d 'Filter to apply to dvi file'
|
||||
complete -c latexmk -o dvi -d 'generate dvi'
|
||||
complete -c latexmk -o dvi- -d 'turn off required dvi'
|
||||
complete -c latexmk -o e -x -d 'Execute specified Perl code (as part of latexmk start-up code)'
|
||||
complete -c latexmk -o f -d 'force continued processing past errors'
|
||||
complete -c latexmk -o f- -d 'turn off forced continuing processing past errors'
|
||||
complete -c latexmk -o gg -d 'Super go mode: clean out generated files before processing'
|
||||
complete -c latexmk -o g -d 'process regardless of file timestamps'
|
||||
complete -c latexmk -o g- -d 'Turn off -g'
|
||||
complete -c latexmk -o h -o help -d 'print help'
|
||||
complete -c latexmk -o deps-out= -r -d 'Set name of output file for dependency list, and turn on showing of dependency list'
|
||||
complete -c latexmk -o dF -x -d 'Filter to apply to dvi file'
|
||||
complete -c latexmk -o dvi -d 'generate dvi'
|
||||
complete -c latexmk -o dvi- -d 'turn off required dvi'
|
||||
complete -c latexmk -o e -x -d 'Execute specified Perl code (as part of latexmk start-up code)'
|
||||
complete -c latexmk -o f -d 'force continued processing past errors'
|
||||
complete -c latexmk -o f- -d 'turn off forced continuing processing past errors'
|
||||
complete -c latexmk -o gg -d 'Super go mode: clean out generated files before processing'
|
||||
complete -c latexmk -o g -d 'process regardless of file timestamps'
|
||||
complete -c latexmk -o g- -d 'Turn off -g'
|
||||
complete -c latexmk -o h -o help -d 'print help'
|
||||
complete -c latexmk -o jobname= -x -d 'set basename of output file(s) to STRING'
|
||||
complete -c latexmk -o l -d 'force landscape mode'
|
||||
complete -c latexmk -o l- -d 'turn off -l'
|
||||
complete -c latexmk -o latex= -d 'set program used for latex' -xa '(__fish_complete_command)'
|
||||
complete -c latexmk -o new-viewer -d 'in -pvc mode, always start a new viewer'
|
||||
complete -c latexmk -o new-viewer- -d 'in -pvc mode, start a new viewer only if needed'
|
||||
complete -c latexmk -o nobibtex -d 'never use bibtex'
|
||||
complete -c latexmk -o l -d 'force landscape mode'
|
||||
complete -c latexmk -o l- -d 'turn off -l'
|
||||
complete -c latexmk -o latex= -d 'set program used for latex' -xa '(__fish_complete_command)'
|
||||
complete -c latexmk -o new-viewer -d 'in -pvc mode, always start a new viewer'
|
||||
complete -c latexmk -o new-viewer- -d 'in -pvc mode, start a new viewer only if needed'
|
||||
complete -c latexmk -o nobibtex -d 'never use bibtex'
|
||||
complete -c latexmk -o nodependents -d 'Do not show list of dependent files after processing'
|
||||
complete -c latexmk -o norc -d 'omit automatic reading of system, user and project rc files'
|
||||
complete -c latexmk -o norc -d 'omit automatic reading of system, user and project rc files'
|
||||
complete -c latexmk -o output-directory= -o outdir= -d 'set name of directory for output files' -xa '(__fish_complete_directories)'
|
||||
complete -c latexmk -o pdf -d 'generate pdf by pdflatex'
|
||||
complete -c latexmk -o pdfdvi -d 'generate pdf by dvipdf'
|
||||
complete -c latexmk -o pdflatex= -d 'set program used for pdflatex' -xa '(__fish_complete_command)'
|
||||
complete -c latexmk -o pdfps -d 'generate pdf by ps2pdf'
|
||||
complete -c latexmk -o pdf- -d 'turn off pdf'
|
||||
complete -c latexmk -o ps -d 'generate postscript'
|
||||
complete -c latexmk -o ps- -d 'turn off postscript'
|
||||
complete -c latexmk -o pF -x -d 'Filter to apply to postscript file'
|
||||
complete -c latexmk -o p -d 'print document after generating postscript'
|
||||
complete -c latexmk -o print=dvi -d 'when file is to be printed, print the dvi file'
|
||||
complete -c latexmk -o print=ps -d 'when file is to be printed, print the ps file (default)'
|
||||
complete -c latexmk -o print=pdf -d 'when file is to be printed, print the pdf file'
|
||||
complete -c latexmk -o pv -d 'preview document'
|
||||
complete -c latexmk -o pv- -d 'turn off preview mode'
|
||||
complete -c latexmk -o pvc -d 'preview document and continuously update'
|
||||
complete -c latexmk -o pdf -d 'generate pdf by pdflatex'
|
||||
complete -c latexmk -o pdfdvi -d 'generate pdf by dvipdf'
|
||||
complete -c latexmk -o pdflatex= -d 'set program used for pdflatex' -xa '(__fish_complete_command)'
|
||||
complete -c latexmk -o pdfps -d 'generate pdf by ps2pdf'
|
||||
complete -c latexmk -o pdf- -d 'turn off pdf'
|
||||
complete -c latexmk -o ps -d 'generate postscript'
|
||||
complete -c latexmk -o ps- -d 'turn off postscript'
|
||||
complete -c latexmk -o pF -x -d 'Filter to apply to postscript file'
|
||||
complete -c latexmk -o p -d 'print document after generating postscript'
|
||||
complete -c latexmk -o print=dvi -d 'when file is to be printed, print the dvi file'
|
||||
complete -c latexmk -o print=ps -d 'when file is to be printed, print the ps file (default)'
|
||||
complete -c latexmk -o print=pdf -d 'when file is to be printed, print the pdf file'
|
||||
complete -c latexmk -o pv -d 'preview document'
|
||||
complete -c latexmk -o pv- -d 'turn off preview mode'
|
||||
complete -c latexmk -o pvc -d 'preview document and continuously update'
|
||||
complete -c latexmk -o pvc- -d 'turn off -pvc'
|
||||
complete -c latexmk -o quiet -d 'silence progress messages from called programs'
|
||||
complete -c latexmk -o r -r -d 'Read custom RC file'
|
||||
complete -c latexmk -o recorder -d 'Use -recorder option for (pdf)latex'
|
||||
complete -c latexmk -o r -r -d 'Read custom RC file'
|
||||
complete -c latexmk -o recorder -d 'Use -recorder option for (pdf)latex'
|
||||
complete -c latexmk -o recorder- -d 'Do not use -recorder option for (pdf)latex'
|
||||
complete -c latexmk -o rules -d 'Show list of rules after processing'
|
||||
complete -c latexmk -o rules- -d 'Do not show list of rules after processing'
|
||||
complete -c latexmk -o silent -d 'silence progress messages from called programs'
|
||||
complete -c latexmk -o time -d 'show CPU time used'
|
||||
complete -c latexmk -o time- -d 'don\'t show CPU time used'
|
||||
complete -c latexmk -o use-make -d 'use the make program to try to make missing files'
|
||||
complete -c latexmk -o rules -d 'Show list of rules after processing'
|
||||
complete -c latexmk -o rules- -d 'Do not show list of rules after processing'
|
||||
complete -c latexmk -o silent -d 'silence progress messages from called programs'
|
||||
complete -c latexmk -o time -d 'show CPU time used'
|
||||
complete -c latexmk -o time- -d 'don\'t show CPU time used'
|
||||
complete -c latexmk -o use-make -d 'use the make program to try to make missing files'
|
||||
complete -c latexmk -o use-make- -d 'don\'t use the make program to try to make missing files'
|
||||
complete -c latexmk -o v -d 'display program version'
|
||||
complete -c latexmk -o v -d 'display program version'
|
||||
complete -c latexmk -o verbose -d 'display usual progress messages from called programs'
|
||||
complete -c latexmk -o version -d 'display program version'
|
||||
complete -c latexmk -o version -d 'display program version'
|
||||
complete -c latexmk -o view=default -d 'viewer is default (dvi, ps, pdf)'
|
||||
complete -c latexmk -o view=dvi -d 'viewer is for dvi'
|
||||
complete -c latexmk -o view=none -d 'no viewer is used'
|
||||
complete -c latexmk -o view=ps -d 'viewer is for ps'
|
||||
complete -c latexmk -o view=pdf -d 'viewer is for pdf'
|
||||
complete -c latexmk -o view=dvi -d 'viewer is for dvi'
|
||||
complete -c latexmk -o view=none -d 'no viewer is used'
|
||||
complete -c latexmk -o view=ps -d 'viewer is for ps'
|
||||
complete -c latexmk -o view=pdf -d 'viewer is for pdf'
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
function __fish_lein_needs_command
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -eq 1 ]
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -eq 1 ]
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -f -c lein -n '__fish_lein_needs_command' -a check -d "Check syntax and warn on reflection."
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# See: https://github.com/haikarainen/light
|
||||
|
||||
function __fish_print_light_controllers
|
||||
command light -L
|
||||
command light -L
|
||||
end
|
||||
|
||||
complete -c light -s h -d 'Print help and exit'
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
complete -c ln -s s -l symbolic -d 'Make symbolic links instead of hard links'
|
||||
complete -c ln -l backup -d 'Make a backup of each existing destination file' -a "none off numbered t existing nil simple never"
|
||||
complete -c ln -s b -d 'Make a backup of each existing destination file'
|
||||
complete -c ln -s d -l directory -d 'Allow superuser to attempt to hard link directories'
|
||||
complete -c ln -s f -l force -d 'Remove existing destination files'
|
||||
complete -c ln -s i -l interactive -d 'Prompt whether to remove destinations'
|
||||
complete -c ln -s L -l logical -d 'Dereference TARGETs that are symbolic links'
|
||||
complete -c ln -s n -l no-dereference -d 'Treat symlink to directory as if it were a file'
|
||||
complete -c ln -s P -l physical -d 'Make hard links directly to symbolic links'
|
||||
complete -c ln -s S -l suffix -d 'Override the usual ~ backup suffix'
|
||||
complete -c ln -s t -l target-directory -d 'Specify the DIRECTORY in which to create the links' -a '(__fish_complete_directories)'
|
||||
complete -c ln -s s -l symbolic -d 'Make symbolic links instead of hard links'
|
||||
complete -c ln -l backup -d 'Make a backup of each existing destination file' -a "none off numbered t existing nil simple never"
|
||||
complete -c ln -s b -d 'Make a backup of each existing destination file'
|
||||
complete -c ln -s d -l directory -d 'Allow superuser to attempt to hard link directories'
|
||||
complete -c ln -s f -l force -d 'Remove existing destination files'
|
||||
complete -c ln -s i -l interactive -d 'Prompt whether to remove destinations'
|
||||
complete -c ln -s L -l logical -d 'Dereference TARGETs that are symbolic links'
|
||||
complete -c ln -s n -l no-dereference -d 'Treat symlink to directory as if it were a file'
|
||||
complete -c ln -s P -l physical -d 'Make hard links directly to symbolic links'
|
||||
complete -c ln -s S -l suffix -d 'Override the usual ~ backup suffix'
|
||||
complete -c ln -s t -l target-directory -d 'Specify the DIRECTORY in which to create the links' -a '(__fish_complete_directories)'
|
||||
complete -c ln -s T -l no-target-directory -d 'Treat LINK_NAME as a normal file'
|
||||
complete -c ln -s v -l verbose -d 'Print name of each linked file'
|
||||
complete -c ln -s v -l verbose -d 'Print name of each linked file'
|
||||
|
||||
complete -c ln -f -l help -d 'Display help and exit'
|
||||
complete -c ln -f -l version -d 'Output version information and exit'
|
||||
complete -c ln -f -l help -d 'Display help and exit'
|
||||
complete -c ln -f -l version -d 'Output version information and exit'
|
||||
|
|
|
@ -3,22 +3,22 @@ set -l commands status set-locale list-locales set-keymap list-keymaps set-x11-k
|
|||
|
||||
complete -c localectl -f
|
||||
for cmd in $commands
|
||||
complete -c localectl -n "not __fish_seen_subcommand_from $commands" -a $cmd
|
||||
complete -c localectl -n "not __fish_seen_subcommand_from $commands" -a $cmd
|
||||
end
|
||||
set -l localevars LANG LC_MESSAGES LC_{CTYPE,NUMERIC,TIME,COLLATE,MONETARY,MESSAGES,PAPER,NAME,ADDRESS,TELEPHONE,MEASUREMENT,IDENTIFICATION,ALL}
|
||||
set -l locales $localevars=(localectl list-locales)
|
||||
|
||||
function __fish_localectl_layout
|
||||
set -l cmd (commandline -poc)
|
||||
set -e cmd[1]
|
||||
set -e cmd[1]
|
||||
for l in (localectl list-x11-keymap-layouts)
|
||||
if contains -- $l $cmd
|
||||
echo $l
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
set -l cmd (commandline -poc)
|
||||
set -e cmd[1]
|
||||
set -e cmd[1]
|
||||
for l in (localectl list-x11-keymap-layouts)
|
||||
if contains -- $l $cmd
|
||||
echo $l
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
complete -c localectl -n "__fish_seen_subcommand_from set-locale" -a "$locales"
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
|
||||
complete -c locate -s A -l 'all' -d 'Match all non-option arguments'
|
||||
complete -c locate -s b -l 'basename' -d 'Match against the base name of the file'
|
||||
complete -c locate -s c -l 'count' -d 'Print only the number of matches found'
|
||||
complete -c locate -s d -l 'database' -r -d 'Use different DATABASE file[s]'
|
||||
complete -c locate -s e -l 'existing' -d 'Match only existing files'
|
||||
complete -c locate -s L -l 'follow' -d 'Consider broken symbolic links to be non-existing files'
|
||||
complete -c locate -s P -l 'nofollow' -d 'Treat broken symbolic links as if they were existing'
|
||||
complete -c locate -s H -l 'nofollow' -d 'Treat broken symbolic links as if they were existing'
|
||||
complete -c locate -s i -l 'ignore-case' -d 'Ignore case distinctions'
|
||||
complete -c locate -s l -l 'limit' -r -d 'Limit the number of matches'
|
||||
complete -c locate -s 0 -l 'null' -d 'Use ASCII NUL as a separator'
|
||||
complete -c locate -s S -l 'statistics' -d 'Print statistics about databases and exit'
|
||||
complete -c locate -s w -l 'wholename' -d 'Match against the whole name of the file'
|
||||
complete -c locate -s r -l 'regex' -d 'The pattern is a regular expression'
|
||||
complete -c locate -s h -l 'help' -d 'Print a summary of the options and exit'
|
||||
complete -c locate -s V -l 'version' -d 'Print the version number and exit'
|
||||
complete -c locate -s A -l 'all' -d 'Match all non-option arguments'
|
||||
complete -c locate -s b -l 'basename' -d 'Match against the base name of the file'
|
||||
complete -c locate -s c -l 'count' -d 'Print only the number of matches found'
|
||||
complete -c locate -s d -l 'database' -r -d 'Use different DATABASE file[s]'
|
||||
complete -c locate -s e -l 'existing' -d 'Match only existing files'
|
||||
complete -c locate -s L -l 'follow' -d 'Consider broken symbolic links to be non-existing files'
|
||||
complete -c locate -s P -l 'nofollow' -d 'Treat broken symbolic links as if they were existing'
|
||||
complete -c locate -s H -l 'nofollow' -d 'Treat broken symbolic links as if they were existing'
|
||||
complete -c locate -s i -l 'ignore-case' -d 'Ignore case distinctions'
|
||||
complete -c locate -s l -l 'limit' -r -d 'Limit the number of matches'
|
||||
complete -c locate -s 0 -l 'null' -d 'Use ASCII NUL as a separator'
|
||||
complete -c locate -s S -l 'statistics' -d 'Print statistics about databases and exit'
|
||||
complete -c locate -s w -l 'wholename' -d 'Match against the whole name of the file'
|
||||
complete -c locate -s r -l 'regex' -d 'The pattern is a regular expression'
|
||||
complete -c locate -s h -l 'help' -d 'Print a summary of the options and exit'
|
||||
complete -c locate -s V -l 'version' -d 'Print the version number and exit'
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue