Some new completions and modified some others.

This commit is contained in:
SanskritFritz 2012-10-02 23:22:40 +02:00 committed by ridiculousfish
parent 9904415144
commit 956f99365a
14 changed files with 331 additions and 71 deletions

View file

@ -0,0 +1,16 @@
# Completions for anamnesis
# Author: SanskritFritz (gmail)
complete -c anamnesis -l version -d "Show program's version number and exit"
complete -c anamnesis -s h -l help -d "Show a help message and exit"
complete -c anamnesis -l start -d "Starts anamnesis daemon"
complete -c anamnesis -l stop -d "Stops anamnesis daemon"
complete -c anamnesis -l restart -d "Restarts anamnesis daemon"
complete -c anamnesis -s b -l browser -d "Opens anamnesis browser with clipboard history"
complete -c anamnesis -l cleanup -d "Performs a cleanup on the clipboard database"
complete -c anamnesis -s l -l list -d "Prints the clipboard history last N values"
complete -c anamnesis -l filter -d "Use keywords to filter the clips to be listed"
complete -c anamnesis -s a -l add -d "Adds a value to the clipboard"
complete -c anamnesis -l remove -d "Removes the clipboard element with the given id"
complete -c anamnesis -l brief -d "Print only a brief version of long clipboard elements"

View file

@ -0,0 +1,26 @@
# Command specific completions for cower (an Archlinux AUR helper).
# Written by SanskritFritz (gmail)
complete -c cower -f -s b -l 'brief' -d 'Show output in a more script friendly format'
complete -c cower -f -s d -l 'download' -d 'Download [twice to fetch dependencies]'
complete -c cower -f -s i -l 'info' -d 'Show info for target [twice for more details]'
complete -c cower -f -s m -l 'msearch' -d 'Search for packages by maintainer'
complete -c cower -f -s s -l 'search' -d 'Search for packages by name'
complete -c cower -f -s u -l 'update' -d 'Check AUR packages for updates'
complete -c cower -f -s c -l 'color' -xa 'always auto never' -d 'Use colored output'
complete -c cower -f -s v -l 'debug' -d 'Show debug output'
complete -c cower -f -s f -l 'force' -d 'Overwrite existing files when downloading'
complete -c cower -f -l 'format' -d 'Print formatted'
complete -c cower -f -s h -l 'help' -d 'Display help and quit'
complete -c cower -f -l 'ignore' -xa "(pacman -Qq)" -d 'Ignore a package upgrade'
complete -c cower -f -l 'ignorerepo' -xa "(cat /etc/pacman.conf | grep '^\[.\+\]' | sed 's/[]\[]//g')" -d 'Ignore a binary repo when checking for updates'
complete -c cower -f -l 'listdelim' -d 'Specify a delimiter for list formatters'
complete -c cower -f -l 'nossl' -d 'No secure http connections to the AUR'
complete -c cower -f -s q -l 'quiet' -d 'Output less'
complete -c cower -f -s t -l 'target' -d 'Download targets to DIR'
complete -c cower -f -l 'threads' -d 'Limit the number of threads created [10]'
complete -c cower -f -l 'timeout' -d 'Curl timeout in seconds'
complete -c cower -f -s v -l 'verbose' -d 'Output more'
# Complete with AUR packages:
complete -c cower -f --condition 'not expr -- (commandline --current-token) : "^\-.*" > /dev/null' --arguments '(cower --format="%n\n" --search (commandline --current-token))'

View file

@ -0,0 +1,31 @@
# Completions for duply
# Author: SanskritFritz (gmail)
# First parameter is the profile name, or 'usage'
complete --command duply --no-files --condition '__fish_is_first_token' --arguments '(/bin/ls /etc/duply ^/dev/null) (/bin/ls ~/.duply ^/dev/null)' --description 'Profile'
complete --command duply --no-files --arguments 'usage' --description 'Get usage help text'
# Second parameter is a duply command
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'create' --description 'Creates a configuration profile'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'backup' --description 'Backup with pre/post script execution'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'bkp' --description 'Backup without executing pre/post scripts'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'pre' --description 'Execute <profile>/pre script'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'post' --description 'Execute <profile>/post script'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'full' --description 'Force full backup'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'incr' --description 'Force incremental backup'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'list' --description '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' --description 'Prints backup sets and chains currently in repository'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'verify' --description 'List files changed since latest backup'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'purge' --description 'Shows outdated backup archives [--force, delete these files]'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'purge-full' --description 'Shows outdated backups [--force, delete these files]'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'cleanup' --description 'Shows broken backup archives [--force, delete these files]'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'restore' --description 'Restore the backup to <target_path> [as it was at <age>]'
complete --command duply --no-files --condition 'not __fish_is_first_token' --arguments 'fetch' --description 'Restore single file/folder from backup [as it was at <age>]'
# Options
complete --command duply --no-files --long-option force --description 'Really execute the commands: purge, purge-full, cleanup'
complete --command duply --no-files --long-option preview --description 'Do nothing but print out generated duplicity command lines'
complete --command duply --no-files --long-option dry-run --description 'Calculate what would be done, but don''t perform any actions'
complete --command duply --no-files --long-option allow-source-mismatch --description 'Don''t abort when backup different dirs to the same backend'
complete --command duply --no-files --long-option verbosity --arguments '0 2 4 8 9' --description 'Output verbosity level'

View file

@ -0,0 +1,83 @@
# Command specific completions for gphoto2
# Written by SanskritFritz (gmail)
#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.'
#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'
#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'
#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'
#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'
#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'
#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'

View file

@ -1,18 +1,18 @@
# completions for ln
# Completions for ln
# Author: SanskritFritz (gmail)
complete -c ln -f -s s -l symbolic -d 'make symbolic links instead of hard links'
complete -c ln -f -l backup=CONTROL -d 'make a backup of each existing destination file'
complete -c ln -f -s b -d 'like --backup but does not accept an argument'
complete -c ln -f -s d -l directory -d 'allow the superuser to attempt to hard link directories'
complete -c ln -f -s f -l force -d 'remove existing destination files'
complete -c ln -f -s i -l interactive -d 'prompt whether to remove destinations'
complete -c ln -f -s L -l logical -d 'make hard links to symbolic link references'
complete -c ln -f -s n -l no-dereference -d 'treat destination that is a symlink to a directory as if it were a normal file'
complete -c ln -f -s P -l physical -d 'make hard links directly to symbolic links'
complete -c ln -f -s S -l suffix=SUFFIX -d 'override the usual backup suffix'
complete -c ln -f -s t -l target-directory=DIRECTORY -d 'specify the DIRECTORY in which to create the links'
complete -c ln -f -s T -l no-target-directory -d 'treat LINK_NAME as a normal file'
complete -c ln -f -s v -l verbose -d 'print name of each linked file'
complete -c ln -f -l help -d 'display this help and exit'
complete -c ln -f -l version -d 'output version information and exit'
complete -c ln -f -s s -l symbolic -d 'Make symbolic links instead of hard links'
complete -c ln -f -l backup -a "none off numbered t existing nil simple never" -d 'Make a backup of each existing destination file'
complete -c ln -f -s b -d 'Make a backup of each existing destination file'
complete -c ln -f -s d -l directory -d 'Allow superuser to attempt to hard link directories'
complete -c ln -f -s f -l force -d 'Remove existing destination files'
complete -c ln -f -s i -l interactive -d 'Prompt whether to remove destinations'
complete -c ln -f -s L -l logical -d 'Dereference TARGETs that are symbolic links'
complete -c ln -f -s n -l no-dereference -d 'Treat symlink to directory as if it were a file'
complete -c ln -f -s P -l physical -d 'Make hard links directly to symbolic links'
complete -c ln -f -s S -l suffix -d 'Override the usual ~ backup suffix'
complete -c ln -f -s t -l target-directory -a '(__fish_complete_directories)' -d 'Specify the DIRECTORY in which to create the links'
complete -c ln -f -s T -l no-target-directory -d 'Treat LINK_NAME as a normal file'
complete -c ln -f -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'

View file

@ -1,23 +1,19 @@
#completion for locate
# Completions for locate
# Author SanskritFritz (gmail)
complete -c locate -s A -l all --description 'Print only names which match all non-option arguments'
complete -c locate -s c -l count --description 'Print the total number of matches found'
complete -c locate -s e -l existing --description 'Only print out such names that currently exist'
complete -c locate -s E -l non-existing --description 'Only print out such names that currently do not exist'
complete -c locate -s L -l follow --description 'Consider broken symbolic links to be non-existing files'
complete -c locate -s P -l nofollow --description 'Treat broken symbolic links as if they were existing'
complete -c locate -s H -l nofollow --description 'Treat broken symbolic links as if they were existing'
complete -c locate -s i -l ignore-case --description 'Ignore case distinctions between pattern and file names'
complete -c locate -s m -l mmap --description 'Does nothing. For compatibility with BSD locate'
complete -c locate -s 0 -l null --description 'Use ASCII NUL as a separator, instead of newline'
complete -c locate -s p -l print --description 'Print search results when they normally would not'
complete -c locate -s w -l whole-name --description 'Match against the whole name of the file'
complete -c locate -s b -l base-name --description 'Match against the final component of the file name'
complete -c locate -s r -l regex --description 'The pattern is regular expression instead of glob pattern'
complete -c locate -s s -l stdio --description 'Does nothing. For compatibility with BSD locate'
complete -c locate -s S -l statistics --description 'Print statistics about each locate database and exit'
complete -c locate -l help --description 'Print a summary of the options to locate and exit'
complete -c locate -l version --description 'Print the version number of locate and exit'
complete -r -c locate -s d -l database --description 'Search the file name databases in these directories'
complete -r -c locate -s l -l limit --description 'Limit the number of matches'
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'

View file

@ -0,0 +1,15 @@
# Completions for the logkeys command.
# Author: SanskritFritz (gmail)
complete -c logkeys -s s -l start -d 'Starts the keylogging daemon'
complete -c logkeys -s k -l kill -d 'Terminates the logkeys daemon'
complete -c logkeys -s o -l output -d 'Set ouput LOGFILE'
complete -c logkeys -s m -l keymap -n '__fish_not_contain_opt -s u' -d 'Use file as input KEYMAP'
complete -c logkeys -s d -l device -d 'Use DEVICE as keyboard input'
complete -c logkeys -s u -l us-keymap -n '__fish_not_contain_opt -s m' -d 'Treat keyboard as standard US keyboard'
complete -c logkeys -l export-keymap -d 'Export dynamic KEYMAP to file'
complete -c logkeys -l no-func-keys -d 'Log only character key presses'
complete -c logkeys -l no-timestamps -d 'No timestamp to each line of log'
complete -c logkeys -l post-size -d 'On SIZE, rotate current logfile'
complete -c logkeys -l post-http -d 'POST the log file to URL'

View file

@ -1,20 +1,35 @@
# Completions for makepkg, the archlinux utility to build packages from source
# Completions for makepkg 4, the Archlinux utility to build packages from source
# Author: Giorgio Lando <patroclo7@gmail.com>
complete -c makepkg -f -s b -l builddeps -d 'Build missing deps from source'
complete -c makepkg -f -s c -l clean -d 'Clean left work files and dirs'
complete -c makepkg -f -s C -l cleancache -d 'Removed all cached work files'
complete -c makepkg -f -s d -l nodeps -d 'Do not check deps'
complete -c makepkg -f -s e -l noextract -d 'Do not extract source files'
complete -c makepkg -f -s f -l force -d 'Force rebuild of the package'
complete -c makepkg -f -s g -l geninteg -d 'Generate integrity checks'
complete -c makepkg -f -s h -l help -d 'Output syntax and options'
complete -c makepkg -f -s i -l install -d 'Install or upgrade the built package with pacman'
complete -c makepkg -f -s m -l nocolor -d 'Disable colors'
complete -c makepkg -f -s o -l nobuild -d 'Download and extract the sources only'
complete -c makepkg -s p -d 'Use alternative build script'
complete -c makepkg -f -s r -l rmdeps -d 'Removed installed deps after build'
complete -c makepkg -f -s R -l repackage -d 'Repackage without rebuilding'
complete -c makepkg -f -s s -l syncdeps -d 'Install deps with pacman'
complete -c makepkg -f -s S -l usesudo -d 'Use sudo for pacman operations'
complete -c makepkg -f -l noprogressbar -d 'Tell pacman to not display a progressbar'
complete -c makepkg -f -l noconfirm -d 'Prevent pacman from making questions'
# SanskritFritz (gmail)
complete -c makepkg -l 'asroot' -d 'Allow makepkg to run as root'
complete -c makepkg -s A -l 'ignorearch' -d 'Ignore missing or incomplete arch field'
complete -c makepkg -s c -l 'clean' -d 'Clean up work files after build'
complete -c makepkg -l 'config' -d 'Use alternate config <file>'
complete -c makepkg -s d -l 'nodeps' -d 'Do not perform dependency checks'
complete -c makepkg -s e -l 'noextract' -d 'Do not extract source files'
complete -c makepkg -s f -l 'force' -d 'Force rebuild of the package'
complete -c makepkg -s g -l 'geninteg' -d 'Generate integrity checks'
complete -c makepkg -l 'skipinteg' -d 'Do not perform integrity checks'
complete -c makepkg -l 'skipchecksums' -d 'Do not verify checksums'
complete -c makepkg -l 'skippgpcheck' -d 'Do not verify PGP signatures'
complete -c makepkg -s h -l 'help' -d 'Display syntax and command line options'
complete -c makepkg -l 'holdver' -d 'No automatic bump of pkgver'
complete -c makepkg -s i -l 'install' -d 'Install the package after build'
complete -c makepkg -s L -l 'log' -d 'Enable makepkg build logging'
complete -c makepkg -s m -l 'nocolor' -d 'Disable color in output messages'
complete -c makepkg -s o -l 'nobuild' -d 'Only download and extract files'
complete -c makepkg -s p -d 'Use alternative <buildscript>'
complete -c makepkg -s r -l 'rmdeps' -d 'Remove installed deps after build'
complete -c makepkg -s R -l 'repackage' -d 'Repackage without rebuilding'
complete -c makepkg -s s -l 'syncdeps' -d 'Install missing dependencies'
complete -c makepkg -s S -l 'source' -d 'Build a source-only tarball for AUR'
complete -c makepkg -l 'allsource' -d 'Build a source-only GPL tarball for AUR'
complete -c makepkg -l 'pkg' -d 'Only build <packages> from a split package'
complete -c makepkg -l 'check' -d 'Run the check function in the PKGBUILD'
complete -c makepkg -l 'nocheck' -d 'Do not run the check function in the PKGBUILD'
complete -c makepkg -l 'sign' -d 'Sign the resulting package with gpg'
complete -c makepkg -l 'nosign' -d 'Do not create a signature for the package'
complete -c makepkg -l 'key' -d 'Specify a <key> to use when signing'
complete -c makepkg -l 'noconfirm' -d 'Passed to pacman: --noconfirm'
complete -c makepkg -l 'noprogressbar' -d 'Passed to pacman: --noprogressbar'

26
share/completions/mc.fish Normal file
View file

@ -0,0 +1,26 @@
# Completions for mc
# Author: SanskritFritz (gmail)
complete -c mc -s a -l stickchars -d 'No graphic chars for line drawing'
complete -c mc -s b -l nocolor -d 'Force black and white display'
complete -c mc -s c -l color -d 'Force color mode'
complete -c mc -s C -l colors -d 'Specify a different color set'
complete -c mc -s S -d 'Specify a name of skin'
complete -c mc -s d -l nomouse -d 'Disable mouse support'
complete -c mc -s e -l edit -d 'Start the internal editor with FILE'
complete -c mc -s f -l datadir -d 'Display the compiled-in search paths'
complete -c mc -s F -l datadir-info -d 'Display extended info about compiled-in paths'
complete -c mc -l configure-options -d 'Display configure options'
complete -c mc -s k -l resetsoft -d 'Reset softkeys to their default'
complete -c mc -s K -d 'Specify a keymap FILE'
complete -c mc -l nokeymap -d 'Use default hardcoded keys'
complete -c mc -s l -l ftplog -d 'Save the ftpfs dialog with the server in FILE'
complete -c mc -s P -l printwd -d 'Print the last working directory to FILE'
complete -c mc -s s -d 'Set alternative mode drawing of frameworks'
complete -c mc -s t -l termcap -d 'Use the TERMCAP variable for terminal info'
complete -c mc -s u -l nosubshell -d 'Disable use of the concurrent shell'
complete -c mc -s U -l subshell -d 'Enable use of the concurrent shell'
complete -c mc -s v -l view -d 'Start the internal viewer with FILE'
complete -c mc -s V -l version -d 'Display the version of the program'
complete -c mc -s x -l xterm -d 'Force xterm mode'
complete -c mc -s g -l oldmouse -d 'Force a "normal tracking" mouse mode'

View file

@ -0,0 +1,24 @@
# Completions for pacman-key
# Author: SanskritFritz (gmail)
complete -c pacman-key -s a -l 'add' -d 'Add or update keys from <file>'
complete -c pacman-key -l 'config' -d 'Use an alternate config <file>'
complete -c pacman-key -s d -l 'delete' -d 'Remove the <keys> from the keyring'
complete -c pacman-key -s e -l 'export' -d 'Export <keys> to stdout'
complete -c pacman-key -l 'edit-key' -d 'Present a menu on specified <keys>'
complete -c pacman-key -s f -l 'finger' -d 'List a fingerprint for each specified <key>'
complete -c pacman-key -l 'gpgdir' -d 'Alternate home <dir> for GnuPG'
complete -c pacman-key -s h -l 'help' -d 'Output syntax and command line options'
complete -c pacman-key -l 'import' -d 'Imports keys from <dir>/pubring.gpg'
complete -c pacman-key -l 'import-trustdb' -d 'Imports ownertrust values from <dir>/trustdb.gpg'
complete -c pacman-key -l 'init' -d 'Initialize the keyring'
complete -c pacman-key -l 'keyserver' -d 'Use the specified <keyserver>'
complete -c pacman-key -s l -l 'list-keys' -d 'Lists all or specified <keys> from the keyring'
complete -c pacman-key -l 'list-sigs' -d 'Same as --list-keys, but with signatures'
complete -c pacman-key -l 'lsign-key' -d 'Locally sign the given <key>'
complete -c pacman-key -s r -l 'recv-keys' -d 'Equivalent to --recv-keys in GnuPG'
complete -c pacman-key -l 'refresh-keys' -d 'Equivalent to --refresh-keys in GnuPG'
complete -c pacman-key -l 'populate' -d 'Reload the default keys'
complete -c pacman-key -s u -l 'updatedb' -d 'Equivalent to --check-trustdb in GnuPG'
complete -c pacman-key -s v -l 'verify' -d 'Verify the given <signature> file'
complete -c pacman-key -s V -l 'version' -d 'Displays the program version'

View file

@ -0,0 +1,12 @@
# Completions for the pbget command.
# Author: SanskritFritz (gmail)
complete -c pbget -l abs --description 'Use the ABS tree'
complete -c pbget -l arch --description 'Set the desired package architecture'
complete -c pbget -l aur --description 'Search the AUR'
complete -c pbget -l aur-only --description 'Only search the AUR'
complete -c pbget -l dir --description 'Set the output directory'
complete -c pbget -l help --description 'Display this message'
complete -c pbget -l upgradable --description 'Search for upgradable packages'
complete -c pbget -l testing --description 'Search the ABS testing branches'

View file

@ -1,8 +1,13 @@
complete -c readlink -s f -l canonicalize -d 'follow every symlink in every component of the given name recursively; all but the last component must exist'
complete -c readlink -s e -l canonicalize-existing -d 'follow every symlink in every component of the given name recursively, all components must exist'
complete -c readlink -s m -l canonicalize-missing -d 'follow every symlink in every component of the given name recursively, without requirements on components existence'
complete -c readlink -s n -l no-newline -d 'do not output the trailing newline'
complete -c readlink -s q -l quiet -l silent -d 'suppress most error messages'
complete -c readlink -s v -l verbose -d 'report error messages'
complete -c readlink -l help -d 'display this help and exit'
complete -c readlink -l version -d 'output version information and exit'
#
# Completions for the readlink command.
# SanskritFritz (gmail)
#
complete -c readlink -s f -l canonicalize --description 'Canonicalize, follow symlinks, last can be missing'
complete -c readlink -s e -l canonicalize-existing --description 'Canonicalize, follow symlinks, none can be missing'
complete -c readlink -s m -l canonicalize-missing --description 'Canonicalize, follow symlinks, all can be missing'
complete -c readlink -s n -l no-newline --description 'Do not output the trailing newline'
complete -c readlink -s q -l quiet -s s -l silent --description 'Suppress most error messages'
complete -c readlink -s v -l verbose --description 'Report error messages'
complete -c readlink -l help --description 'Display this help and exit'
complete -c readlink -l version --description 'Output version information and exit'

View file

@ -1,7 +1,8 @@
complete -c seq -x
complete -c seq -s f -l format -x -d 'use printf style floating-point FORMAT'
complete -c seq -s s -l separator -x -d 'use STRING to separate numbers (default: \n)'
complete -c seq -s w -l equal-width -d 'equalize width by padding with leading zeroes'
complete -c seq -l help -d 'display this help and exit'
complete -c seq -l version -d 'output version information and exit'
# Completions for seq.
# Author: SanskritFritz (gmail)
complete -c seq -s f -l format -d 'Use printf style floating-point FORMAT'
complete -c seq -s s -l separator -d 'Use STRING to separate numbers'
complete -c seq -s w -l equal-width -d 'Equalize width with leading zeroes'
complete -c seq -l help -d 'Display this help'
complete -c seq -l version -d 'Output version information'

View file

@ -0,0 +1,10 @@
#
# Completions for timeout
# SanskritFritz (gmail)
complete -c timeout -l foreground -d 'Run COMMAND in the foreground'
complete -c timeout -s k -l kill-after -d 'Send a KILL signal after DURATION'
complete -c timeout -s s -l signal -d 'Specify the signal to be sent'
complete -c timeout -l help -d 'Display this help and exit'
complete -c timeout -l version -d 'Output version information and exit'