diff --git a/share/completions/abbr.fish b/share/completions/abbr.fish index 87051769b..049ac6038 100644 --- a/share/completions/abbr.fish +++ b/share/completions/abbr.fish @@ -11,7 +11,6 @@ complete -c abbr -f -n $__fish_abbr_not_add_cond -s s -l show -d 'Print all abbr complete -c abbr -f -n $__fish_abbr_not_add_cond -s l -l list -d 'Print all abbreviation names' complete -c abbr -f -n $__fish_abbr_not_add_cond -s h -l help -d Help - complete -c abbr -f -n $__fish_abbr_add_cond -s p -l position -a 'command anywhere' -d 'Expand only as a command, or anywhere' -x complete -c abbr -f -n $__fish_abbr_add_cond -s f -l function -d 'Treat expansion argument as a fish function' -xa '(functions)' complete -c abbr -f -n $__fish_abbr_add_cond -s r -l regex -d 'Match a regular expression' -x diff --git a/share/completions/adb.fish b/share/completions/adb.fish index 4f050ba7a..345d1af24 100644 --- a/share/completions/adb.fish +++ b/share/completions/adb.fish @@ -59,7 +59,6 @@ function __fish_adb_list_packages __fish_adb_run_command pm list packages 2\>/dev/null | string replace 'package:' '' end - function __fish_adb_list_uninstallable_packages # -3 doesn't exactly mean show uninstallable, but it's the closest you can get to with pm list __fish_adb_run_command pm list packages -3 | string replace 'package:' '' diff --git a/share/completions/ansible-vault.fish b/share/completions/ansible-vault.fish index c0a642132..525e5d030 100644 --- a/share/completions/ansible-vault.fish +++ b/share/completions/ansible-vault.fish @@ -1,4 +1,3 @@ - function __fish_ansible_vault_no_subcommand -d 'Test if ansible-vault has yet to be given the subcommand' commandline -pc | not string match --regex '[^-]\b(?:create|decrypt|edit|encrypt|encrypt_string|rekey|view)\b' end @@ -10,7 +9,6 @@ function __fish_ansible_vault_using_command contains -- "$cmd" $argv end - # generic options complete -c ansible-vault -l version -d "Display version and exit" complete -c ansible-vault -s h -l help -f -d "Show help message and exit" diff --git a/share/completions/apkanalyzer.fish b/share/completions/apkanalyzer.fish index a24148b25..f72044e1b 100644 --- a/share/completions/apkanalyzer.fish +++ b/share/completions/apkanalyzer.fish @@ -6,7 +6,6 @@ set -l manifest_subcommands print application-id version-name version-code min-s set -l dex_subcommands list references packages code set -l resources_subcommands package configs value name xml - complete -f -n "not __fish_seen_subcommand_from $subcommands" -c apkanalyzer -a apk -d 'Analyze APK file attributes' complete -f -n "not __fish_seen_subcommand_from $subcommands" -c apkanalyzer -a files -d 'Analyze the files inside the APK file' complete -f -n "not __fish_seen_subcommand_from $subcommands" -c apkanalyzer -a manifest -d 'Analyze the contents of the manifest file' diff --git a/share/completions/apt-build.fish b/share/completions/apt-build.fish index 03dc5657c..5b3f56620 100644 --- a/share/completions/apt-build.fish +++ b/share/completions/apt-build.fish @@ -1,4 +1,3 @@ - #apt-build complete -c apt-build -l help -d "Display help and exit" complete -f -c apt-build -a update -d "Update list of packages" diff --git a/share/completions/apt-extracttemplates.fish b/share/completions/apt-extracttemplates.fish index 910f36cfe..e49cb1aa6 100644 --- a/share/completions/apt-extracttemplates.fish +++ b/share/completions/apt-extracttemplates.fish @@ -1,4 +1,3 @@ - #apt-extracttemplates complete -c apt-extracttemplates -s h -l help -d "Display help and exit" complete -r -c apt-extracttemplates -s t -d "Set temp dir" diff --git a/share/completions/block.fish b/share/completions/block.fish index f7aed0527..8750aad56 100644 --- a/share/completions/block.fish +++ b/share/completions/block.fish @@ -1,4 +1,3 @@ - complete -c block -s h -l help -d 'Display help and exit' complete -c block -s e -l erase -d 'Remove the topmost global event block' complete -c block -s l -l local -d 'Create a local (automatically erased) event block' diff --git a/share/completions/break.fish b/share/completions/break.fish index ce72fe8bf..cdbcbf565 100644 --- a/share/completions/break.fish +++ b/share/completions/break.fish @@ -1,2 +1 @@ - complete -c break -s h -l help -d 'Display help and exit' diff --git a/share/completions/bzr.fish b/share/completions/bzr.fish index ef842427e..114054685 100644 --- a/share/completions/bzr.fish +++ b/share/completions/bzr.fish @@ -2,7 +2,6 @@ # see https://github.com/fish-shell/fish-shell/blob/master/share/functions/__fish_seen_subcommand_from.fish # and https://github.com/fish-shell/fish-shell/blob/master/share/functions/__fish_use_subcommand.fish - # help commands complete -f -c bzr -n __fish_use_subcommand -a help -d 'Show help' complete -f -c bzr -n '__fish_seen_subcommand_from help' -a topics -d 'List all help topics' diff --git a/share/completions/canto.fish b/share/completions/canto.fish index 7ec410246..eacae556f 100644 --- a/share/completions/canto.fish +++ b/share/completions/canto.fish @@ -1,4 +1,3 @@ - function __fish_canto_using_command set -l cmd (commandline -xpc) if test (count $cmd) -gt 1 @@ -14,7 +13,6 @@ function __fish_canto_using_command return 1 end - complete -f -c canto -s h -l help -d 'Show Help' complete -f -c canto -s v -l version -d 'Show version' complete -f -c canto -s u -l update -d 'Update before running' diff --git a/share/completions/cargo.fish b/share/completions/cargo.fish index a12f2874f..c52dda598 100644 --- a/share/completions/cargo.fish +++ b/share/completions/cargo.fish @@ -47,7 +47,6 @@ end complete -c cargo -n '__fish_seen_subcommand_from add install' -n '__fish_is_nth_token 2' \ -a "(__fish_cargo_search (commandline -ct))" - ## --- AUTO-GENERATED WITH `cargo complete fish` --- # Manually massaged to improve some descriptions complete -c cargo -n __fish_use_subcommand -l explain -d 'Run `rustc --explain CODE`' diff --git a/share/completions/commandline.fish b/share/completions/commandline.fish index 478ea127f..5f95e70ec 100644 --- a/share/completions/commandline.fish +++ b/share/completions/commandline.fish @@ -1,4 +1,3 @@ - complete -c commandline -s h -l help -d "Display help and exit" complete -c commandline -s a -l append -d "Add text to the end of the selected area" complete -c commandline -s i -l insert -d "Add text at cursor" @@ -25,5 +24,4 @@ complete -c commandline -s P -l paging-mode -d "Return true if showing pager con complete -c commandline -l paging-full-mode -d "Return true if pager is showing all content" complete -c commandline -l is-valid -d "Return true if the command line is syntactically valid and complete" - complete -c commandline -n '__fish_contains_opt -s f function' -a '(bind --function-names)' -d 'Function name' -x diff --git a/share/completions/continue.fish b/share/completions/continue.fish index 7c3dc7add..890302d8a 100644 --- a/share/completions/continue.fish +++ b/share/completions/continue.fish @@ -1,2 +1 @@ - complete -c continue -s h -l help -d 'Display help and exit' diff --git a/share/completions/cowsay.fish b/share/completions/cowsay.fish index 01a01b614..1b40c9f81 100644 --- a/share/completions/cowsay.fish +++ b/share/completions/cowsay.fish @@ -1,5 +1,3 @@ - - complete -c cowsay -s e -d "Specify eye string" -r complete -c cowsay -s f -d "Specify cow file" -x -a '(cowsay -l | tail -n +2 | string split " ")' complete -c cowsay -s h -d "Display help and exit" diff --git a/share/completions/cowthink.fish b/share/completions/cowthink.fish index ce30405fa..37fb563c3 100644 --- a/share/completions/cowthink.fish +++ b/share/completions/cowthink.fish @@ -1,5 +1,3 @@ - - complete -c cowthink -s e -d "Specify eye string" -r complete -c cowthink -s f -d "Specify cow file" -x -a '(cowthink -l | tail -n +2 | string split " ")' complete -c cowthink -s h -d "Display help and exit" diff --git a/share/completions/cvs.fish b/share/completions/cvs.fish index 6dff26035..407b8c65f 100644 --- a/share/completions/cvs.fish +++ b/share/completions/cvs.fish @@ -1,4 +1,3 @@ - # # Completions for the cvs command # This file was autogenerated by the file make_vcs_completions.fish @@ -9,7 +8,6 @@ # Completions from commandline # - # # Global switches # @@ -72,7 +70,6 @@ complete -c cvs -n __fish_use_subcommand -x -a version -d 'Show current CVS vers complete -c cvs -n __fish_use_subcommand -x -a watch -d 'Set watches' complete -c cvs -n __fish_use_subcommand -x -a watchers -d 'See who is watching a file' - # # Completions for the 'add' subcommand # @@ -80,7 +77,6 @@ complete -c cvs -n __fish_use_subcommand -x -a watchers -d 'See who is watching complete -c cvs -n 'contains \'add\' (commandline -pxc)' -s k -x -d 'Use "rcs-kflag" to add the file with the specified' complete -c cvs -n 'contains \'add\' (commandline -pxc)' -s m -x -d 'Use "message" for the creation log.' - # # Completions for the 'admin' subcommand # @@ -105,7 +101,6 @@ complete -c cvs -n 'contains \'admin\' (commandline -pxc)' -s t -d '-string Set complete -c cvs -n 'contains \'admin\' (commandline -pxc)' -s u -d '[rev] Unlock the revision (latest revision on branch,' complete -c cvs -n 'contains \'admin\' (commandline -pxc)' -s U -d 'Unset strict locking.' - # # Completions for the 'annotate' subcommand # @@ -117,7 +112,6 @@ complete -c cvs -n 'contains \'annotate\' (commandline -pxc)' -s F -d 'Annotate complete -c cvs -n 'contains \'annotate\' (commandline -pxc)' -s r -x -d 'Annotate file as of specified revision/tag.' complete -c cvs -n 'contains \'annotate\' (commandline -pxc)' -s D -x -d 'Annotate file as of specified date.' - # # Completions for the 'checkout' subcommand # @@ -138,7 +132,6 @@ complete -c cvs -n 'contains \'checkout\' (commandline -pxc)' -s d -x -a '(__fis complete -c cvs -n 'contains \'checkout\' (commandline -pxc)' -s k -x -d 'Use RCS kopt -k option on checkout. (is sticky)' complete -c cvs -n 'contains \'checkout\' (commandline -pxc)' -s j -x -d 'Merge in changes made between current revision and rev.' - # # Completions for the 'commit' subcommand # @@ -151,7 +144,6 @@ complete -c cvs -n 'contains \'commit\' (commandline -pxc)' -s F -x -d 'Read the complete -c cvs -n 'contains \'commit\' (commandline -pxc)' -s m -x -d 'Log message.' complete -c cvs -n 'contains \'commit\' (commandline -pxc)' -s r -x -d 'Commit to this branch or trunk revision.' - # # Completions for the 'diff' subcommand # @@ -196,7 +188,6 @@ complete -c cvs -n 'contains \'diff\' (commandline -pxc)' -s - -d 'Horizon-lines complete -c cvs -n 'contains \'diff\' (commandline -pxc)' -s d -d '--minimal Try hard to find a smaller set of changes.' complete -c cvs -n 'contains \'diff\' (commandline -pxc)' -s H -d '--speed-large-files Assume large files and many scattered small changes.' - # # Completions for the 'edit' subcommand # @@ -207,7 +198,6 @@ complete -c cvs -n 'contains \'edit\' (commandline -pxc)' -s a -d 'Specify actio complete -c cvs -n 'contains \'edit\' (commandline -pxc)' -s c -d 'Check for s edited by others and abort if found.' complete -c cvs -n 'contains \'edit\' (commandline -pxc)' -s f -d 'Allow edit if s are edited by others (default).' - # # Completions for the 'editors' subcommand # @@ -215,7 +205,6 @@ complete -c cvs -n 'contains \'edit\' (commandline -pxc)' -s f -d 'Allow edit if complete -c cvs -n 'contains \'editors\' (commandline -pxc)' -s l -d 'Process this directory only (not recursive).' complete -c cvs -n 'contains \'editors\' (commandline -pxc)' -s R -d 'Process directories recursively (default).' - # # Completions for the 'export' subcommand # @@ -230,7 +219,6 @@ complete -c cvs -n 'contains \'export\' (commandline -pxc)' -s D -x -d 'Export r complete -c cvs -n 'contains \'export\' (commandline -pxc)' -s d -x -a '(__fish_complete_directories (commandline -ct))' -d 'Export into dir instead of module name.' complete -c cvs -n 'contains \'export\' (commandline -pxc)' -s k -x -d 'Use RCS kopt -k option on checkout.' - # # Completions for the 'history' subcommand # @@ -254,7 +242,6 @@ complete -c cvs -n 'contains \'history\' (commandline -pxc)' -s t -x -d 'Since t complete -c cvs -n 'contains \'history\' (commandline -pxc)' -s u -x -a '(__fish_complete_users)' -d 'For user name (repeatable)' complete -c cvs -n 'contains \'history\' (commandline -pxc)' -s z -x -d 'Output for time zone (e.g. -z -0700)' - # # Completions for the 'import' subcommand # @@ -267,19 +254,14 @@ complete -c cvs -n 'contains \'import\' (commandline -pxc)' -s b -x -d 'Vendor b complete -c cvs -n 'contains \'import\' (commandline -pxc)' -s m -x -d 'Log message.' complete -c cvs -n 'contains \'import\' (commandline -pxc)' -s W -x -d 'Wrappers specification line.' - # # Completions for the 'init' subcommand # - - # # Completions for the 'kserver' subcommand # - - # # Completions for the 'log' subcommand # @@ -298,19 +280,14 @@ complete -c cvs -n 'contains \'log\' (commandline -pxc)' -s d -x -d 'A semicolon complete -c cvs -n 'contains \'log\' (commandline -pxc)' -s s -x -d 'Only list revisions with specified states.' complete -c cvs -n 'contains \'log\' (commandline -pxc)' -s w -d '[logins]' - # # Completions for the 'login' subcommand # - - # # Completions for the 'logout' subcommand # - - # # Completions for the 'ls' subcommand # @@ -323,14 +300,12 @@ complete -c cvs -n 'contains \'ls\' (commandline -pxc)' -s R -d 'List recursivel complete -c cvs -n 'contains \'ls\' (commandline -pxc)' -s r -x -d 'Show files with revision or tag.' complete -c cvs -n 'contains \'ls\' (commandline -pxc)' -s D -x -d 'Show files from date.' - # # Completions for the 'pserver' subcommand # complete -c cvs -n 'contains \'pserver\' (commandline -pxc)' -s c -x -d 'Path to an alternative CVS config file.' - # # Completions for the 'rannotate' subcommand # @@ -342,7 +317,6 @@ complete -c cvs -n 'contains \'rannotate\' (commandline -pxc)' -s F -d 'Annotate complete -c cvs -n 'contains \'rannotate\' (commandline -pxc)' -s r -x -d 'Annotate file as of specified revision/tag.' complete -c cvs -n 'contains \'rannotate\' (commandline -pxc)' -s D -x -d 'Annotate file as of specified date.' - # # Completions for the 'rdiff' subcommand # @@ -360,14 +334,12 @@ complete -c cvs -n 'contains \'rdiff\' (commandline -pxc)' -s k -x -d 'Specify k complete -c cvs -n 'contains \'rdiff\' (commandline -pxc)' -s D -x -d 'Date.' complete -c cvs -n 'contains \'rdiff\' (commandline -pxc)' -s r -x -d 'Revision - symbolic or numeric.' - # # Completions for the 'release' subcommand # complete -c cvs -n 'contains \'release\' (commandline -pxc)' -s d -d 'Delete the given directory.' - # # Completions for the 'remove' subcommand # @@ -376,7 +348,6 @@ complete -c cvs -n 'contains \'remove\' (commandline -pxc)' -s f -d 'Delete the complete -c cvs -n 'contains \'remove\' (commandline -pxc)' -s l -d 'Process this directory only (not recursive).' complete -c cvs -n 'contains \'remove\' (commandline -pxc)' -s R -d 'Process directories recursively.' - # # Completions for the 'rlog' subcommand # @@ -395,7 +366,6 @@ complete -c cvs -n 'contains \'rlog\' (commandline -pxc)' -s d -x -d 'A semicolo complete -c cvs -n 'contains \'rlog\' (commandline -pxc)' -s s -x -d 'Only list revisions with specified states.' complete -c cvs -n 'contains \'rlog\' (commandline -pxc)' -s w -d '[logins]' - # # Completions for the 'rls' subcommand # @@ -408,7 +378,6 @@ complete -c cvs -n 'contains \'rls\' (commandline -pxc)' -s R -d 'List recursive complete -c cvs -n 'contains \'rls\' (commandline -pxc)' -s r -x -d 'Show files with revision or tag.' complete -c cvs -n 'contains \'rls\' (commandline -pxc)' -s D -x -d 'Show files from date.' - # # Completions for the 'rtag' subcommand # @@ -425,14 +394,12 @@ complete -c cvs -n 'contains \'rtag\' (commandline -pxc)' -s R -d 'Process direc complete -c cvs -n 'contains \'rtag\' (commandline -pxc)' -s r -x -d 'Existing revision/tag.' complete -c cvs -n 'contains \'rtag\' (commandline -pxc)' -s D -d 'Existing date.' - # # Completions for the 'server' subcommand # complete -c cvs -n 'contains \'server\' (commandline -pxc)' -s c -x -d 'Path to an alternative CVS config file.' - # # Completions for the 'status' subcommand # @@ -441,7 +408,6 @@ complete -c cvs -n 'contains \'status\' (commandline -pxc)' -s v -d 'Verbose for complete -c cvs -n 'contains \'status\' (commandline -pxc)' -s l -d 'Process this directory only (not recursive).' complete -c cvs -n 'contains \'status\' (commandline -pxc)' -s R -d 'Process directories recursively.' - # # Completions for the 'tag' subcommand # @@ -457,7 +423,6 @@ complete -c cvs -n 'contains \'tag\' (commandline -pxc)' -s R -d 'Process direct complete -c cvs -n 'contains \'tag\' (commandline -pxc)' -s r -x -d 'Existing revision/tag.' complete -c cvs -n 'contains \'tag\' (commandline -pxc)' -s D -d 'Existing date.' - # # Completions for the 'unedit' subcommand # @@ -465,7 +430,6 @@ complete -c cvs -n 'contains \'tag\' (commandline -pxc)' -s D -d 'Existing date. complete -c cvs -n 'contains \'unedit\' (commandline -pxc)' -s l -d 'Local directory only, not recursive.' complete -c cvs -n 'contains \'unedit\' (commandline -pxc)' -s R -d 'Process directories recursively (default).' - # # Completions for the 'update' subcommand # @@ -485,13 +449,10 @@ complete -c cvs -n 'contains \'update\' (commandline -pxc)' -s j -x -d 'Merge in complete -c cvs -n 'contains \'update\' (commandline -pxc)' -s I -x -d 'More files to ignore (! to reset).' complete -c cvs -n 'contains \'update\' (commandline -pxc)' -s W -x -d 'Wrappers specification line.' - # # Completions for the 'version' subcommand # - - # # Completions for the 'watch' subcommand # @@ -500,7 +461,6 @@ complete -c cvs -n 'contains \'watch\' (commandline -pxc)' -s l -x -a 'on off ad complete -c cvs -n 'contains \'watch\' (commandline -pxc)' -s R -x -a 'on off add remove' -d 'Process directories recursively (default).' complete -c cvs -n 'contains \'watch\' (commandline -pxc)' -s a -x -a 'add remove' -d 'Specify what actions, one of: `edit\', `unedit\',' - # # Completions for the 'watchers' subcommand # diff --git a/share/completions/cygport.fish b/share/completions/cygport.fish index 5ca10b351..fdce53634 100644 --- a/share/completions/cygport.fish +++ b/share/completions/cygport.fish @@ -1,4 +1,3 @@ - # 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" diff --git a/share/completions/darcs.fish b/share/completions/darcs.fish index 77438231b..fdf281f63 100644 --- a/share/completions/darcs.fish +++ b/share/completions/darcs.fish @@ -130,7 +130,6 @@ complete -c darcs -n __fish_darcs_use_optimize_command -x -a pristine -d 'Optimi complete -c darcs -n __fish_darcs_use_optimize_command -x -a upgrade -d 'Upgrade repository to latest compatible format' complete -c darcs -n __fish_darcs_use_optimize_command -x -a cache -d 'Garbage collect global cache' - complete -c darcs -l help -d 'Show a brief description of the command and its options' complete -c darcs -l list-options -d 'Show plain list of available options and commands, for auto-completion' complete -c darcs -l run-posthook -d 'Run posthook command without prompting [DEFAULT]' diff --git a/share/completions/dconf.fish b/share/completions/dconf.fish index c5310dee7..ab34ce024 100644 --- a/share/completions/dconf.fish +++ b/share/completions/dconf.fish @@ -33,7 +33,6 @@ complete -f -c dconf -n "not __fish_seen_subcommand_from $commands" -a dump -d ' complete -f -c dconf -n "not __fish_seen_subcommand_from $commands" -a load -d 'Populate a subpath from stdin' complete -f -c dconf -n "not __fish_seen_subcommand_from $commands" -a help -d 'Display help and exit' - ### Arguments to commands # Technically, reset/watch take a "PATH" (which is a dir or a key) # while read and write take a KEY, but for now this is close enough. diff --git a/share/completions/direnv.fish b/share/completions/direnv.fish index ca8171224..d5294bc79 100644 --- a/share/completions/direnv.fish +++ b/share/completions/direnv.fish @@ -29,5 +29,4 @@ complete -c direnv -n "not __fish_seen_subcommand_from $commands" \ complete -c direnv -n "not __fish_seen_subcommand_from $commands" \ -a version -d "prints the version or checks that direnv is VERSION_AT_LEAST or newer" - complete -c direnv -n "__fish_seen_subcommand_from $with_file" -F diff --git a/share/completions/diskutil.fish b/share/completions/diskutil.fish index 1730c3427..e1803c046 100644 --- a/share/completions/diskutil.fish +++ b/share/completions/diskutil.fish @@ -21,7 +21,6 @@ function __fish_diskutil_using_not_subcommand and __fish_seen_subcommand_from $argv end - ############ # Commands # ############ diff --git a/share/completions/djview.fish b/share/completions/djview.fish index 3e426f84e..286ee48be 100644 --- a/share/completions/djview.fish +++ b/share/completions/djview.fish @@ -1,2 +1 @@ - complete -c djview -x -k -a "(__fish_complete_suffix .djvu)" diff --git a/share/completions/djview4.fish b/share/completions/djview4.fish index ce08c99bf..8236abd26 100644 --- a/share/completions/djview4.fish +++ b/share/completions/djview4.fish @@ -1,2 +1 @@ - complete -c djview4 -x -k -a "(__fish_complete_suffix .djvu)" diff --git a/share/completions/dlocate.fish b/share/completions/dlocate.fish index 20840c2e3..1997b38bb 100644 --- a/share/completions/dlocate.fish +++ b/share/completions/dlocate.fish @@ -1,4 +1,3 @@ - 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_apt_packages)' complete -c dlocate -o ls -d 'ls -ldF all files in the package' -xa '(__fish_print_apt_packages)' diff --git a/share/completions/dpkg.fish b/share/completions/dpkg.fish index 2e185554d..cca066870 100644 --- a/share/completions/dpkg.fish +++ b/share/completions/dpkg.fish @@ -1,4 +1,3 @@ - complete -c dpkg -s i -l install -d 'Install .deb package' -k -xa '(__fish_complete_suffix .deb)' complete -c dpkg -l unpack -d 'Unpack .deb package' -k -xa '(__fish_complete_suffix .deb)' complete -c dpkg -l configure -d 'Configure package' -xa '(dpkg-query -W -f \'${Package}\n\')' diff --git a/share/completions/duply.fish b/share/completions/duply.fish index 97495e0cf..a0d74c628 100644 --- a/share/completions/duply.fish +++ b/share/completions/duply.fish @@ -1,4 +1,3 @@ - # First parameter is the profile name, or 'usage' complete -c duply -f -n "__fish_is_nth_token 1" -a '(set -l files /etc/duply/* ~/.duply/*; string replace -r ".*/" "" -- $files)' -d Profile complete --command duply --no-files --arguments usage -d 'Get usage help text' diff --git a/share/completions/encfs.fish b/share/completions/encfs.fish index 9deabcfd9..2b086dc61 100644 --- a/share/completions/encfs.fish +++ b/share/completions/encfs.fish @@ -1,4 +1,3 @@ - complete -c encfs -s i -l idle -d "Unmount when idle for specified MINUTES" complete -c encfs -s f -d "Run in the foreground" complete -c encfs -s v -l verbose -d "Verbose messages when run foreground" diff --git a/share/completions/eval.fish b/share/completions/eval.fish index d4216cc17..c3688c61d 100644 --- a/share/completions/eval.fish +++ b/share/completions/eval.fish @@ -1,2 +1 @@ - complete -c eval -s h -l help -d 'Display help and exit' diff --git a/share/completions/evince.fish b/share/completions/evince.fish index 12e2c46e3..e146d61c2 100644 --- a/share/completions/evince.fish +++ b/share/completions/evince.fish @@ -1,4 +1,3 @@ - function __fish_evince_complete_file_url set -l comp diff --git a/share/completions/exit.fish b/share/completions/exit.fish index a01af56d6..de4bf876a 100644 --- a/share/completions/exit.fish +++ b/share/completions/exit.fish @@ -1,4 +1,3 @@ - complete -c exit -s h -l help -d 'Display help and exit' complete -c exit -x -a 0 -d "Quit with normal exit status" complete -c exit -x -a 1 -d "Quit with abnormal exit status" diff --git a/share/completions/find.fish b/share/completions/find.fish index 572911628..49de674d7 100644 --- a/share/completions/find.fish +++ b/share/completions/find.fish @@ -6,7 +6,6 @@ complete -c find -s P -d "Never follow symlinks" complete -c find -s L -o follow -d "Follow symlinks" complete -c find -s H -d "Don't follow symlinks (except for command line arguments)" - # General options complete -c find -o daystart -d "Measure from the beginning of today rather than from 24 hours ago" @@ -83,7 +82,6 @@ complete -c find -o user -d "File's owner" -x -a "(__fish_complete_users)" complete -c find -o xtype -d "Check type of file - in case of symlink, check the file that is not checked by -type" -x -a $type_comp complete -c find -o context -d "File's security context matches specified pattern" -x - # Actions complete -c find -o delete -d "Delete selected files" @@ -102,7 +100,6 @@ complete -c find -o prune -d "Do not recurse unless -depth is specified" complete -c find -o quit -d "Exit at once" complete -c find -o ls -d "List file in ls -dils format" -r - # Grouping complete -c find -o not -d "Negate result of action" diff --git a/share/completions/fossil.fish b/share/completions/fossil.fish index fa5a399c5..c02b30b63 100644 --- a/share/completions/fossil.fish +++ b/share/completions/fossil.fish @@ -43,7 +43,6 @@ function __fish_fossil_subsubsubcommand_only and test $argv[3] = $cmd[4] end - # add complete -c fossil -n __fish_fossil_needs_command -a add -x -d 'Add files to checkout' complete -c fossil -n '__fish_fossil_command add' -l case-sensitive -x -a 'yes no' -d 'Case insensitive file matching' @@ -137,7 +136,6 @@ complete -c fossil -n '__fish_fossil_command co checkout' -l force-missing -d 'I complete -c fossil -n '__fish_fossil_command co checkout' -l keep -d 'Only update the manifest' complete -c fossil -n '__fish_fossil_command co checkout' -l latest -d 'Update to latest version' - # clean complete -c fossil -n __fish_fossil_needs_command -a clean -d 'Delete all extra files' complete -c fossil -n '__fish_fossil_command clean' -l case-sensitive -x -a 'yes no' -d 'Case insensitive file matching' diff --git a/share/completions/gcc.fish b/share/completions/gcc.fish index 39068a06e..6311adad7 100644 --- a/share/completions/gcc.fish +++ b/share/completions/gcc.fish @@ -30,7 +30,6 @@ complete -c gcc -o aux-info -d 'Output to given file prototyped declarations for complete -c gcc -o fabi-version -d 'Use specified version of the C++ ABI' -xa "0 1" complete -c gcc -l sysroot -x -a '(__fish_complete_directories)' -d 'Use dir as the root directory for headers and libraries' - # # These completions are autogenerated form the manual page using make_completions.py # diff --git a/share/completions/git.fish b/share/completions/git.fish index 295c7e6a0..8b02077ab 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1093,7 +1093,6 @@ complete -f -c git -n '__fish_git_using_command show' -l no-notes -d 'Do not sho complete -f -c git -n '__fish_git_using_command show' -s s -l no-patch -d 'Suppress diff output' complete -f -c git -n '__fish_git_using_command show' -l show-signature -d 'Check the validity of a signed commit object' - ### show-branch complete -f -c git -n __fish_git_needs_command -a show-branch -d 'Show the commits on branches' complete -f -c git -n '__fish_git_using_command show-branch' -ka '(__fish_git_refs)' -d Rev @@ -1217,7 +1216,6 @@ complete -f -c git -n '__fish_git_using_command apply' -l recount -d 'Do not tru complete -F -c git -n '__fish_git_using_command apply' -l directory -d 'Prepend given path to all filenames' complete -f -c git -n '__fish_git_using_command apply' -l unsafe-paths -d 'Allow patches that work outside working area' - ### archive complete -f -c git -n __fish_git_needs_command -a archive -d 'Create an archive of files from a tree' complete -f -c git -n '__fish_git_using_command archive' -s l -l list -d "Show all available formats" @@ -1890,7 +1888,6 @@ complete -f -c git -n '__fish_git_using_command range-diff' -ka '(__fish_git_ran complete -f -c git -n '__fish_git_using_command range-diff' -l creation-factor -d 'Percentage by which creation is weighted' complete -f -c git -n '__fish_git_using_command range-diff' -l no-dual-color -d 'Use simple diff colors' - ### push complete -f -c git -n __fish_git_needs_command -a push -d 'Push changes elsewhere' complete -f -c git -n '__fish_git_using_command push' -n 'not __fish_git_branch_for_remote' -a '(__fish_git_remotes)' -d 'Remote alias' @@ -2227,7 +2224,6 @@ complete -f -c git -n '__fish_git_using_command format-patch log' -l no-prefix - complete -f -c git -n '__fish_git_using_command format-patch' -l numbered -s n -d "Name output in [Patch n/m] format, even with a single patch" complete -f -c git -n '__fish_git_using_command format-patch' -l no-numbered -s N -d "Name output in [Patch] format, even with multiple patches" - ## git submodule set -l submodulecommands add status init deinit update set-branch set-url summary foreach sync absorbgitdirs complete -f -c git -n __fish_git_needs_command -a submodule -d 'Initialize, update or inspect submodules' diff --git a/share/completions/go.fish b/share/completions/go.fish index d79f8b7e3..bc4f1137a 100644 --- a/share/completions/go.fish +++ b/share/completions/go.fish @@ -28,7 +28,6 @@ complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o trimp complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o toolexec -r -d 'a program to use to invoke toolchain programs' complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o mod -x -d 'module download mode to use' -a 'readonly vendor' - # Completions for go cmds that takes file arguments complete -c go -n "__fish_seen_subcommand_from build compile fix fmt install test vet" -k -x -a "( __fish_complete_suffix .go @@ -39,7 +38,6 @@ complete -c go -n "__fish_seen_subcommand_from build doc fix fmt install test ve go list -e -f '{{.ImportPath}} {{or .Doc \"Go package\"}}' (commandline -ct)... 2>/dev/null )" --description Package - # build complete -c go -n __fish_use_subcommand -a build -d 'compile packages and dependencies' diff --git a/share/completions/gpasswd.fish b/share/completions/gpasswd.fish index 8a9dfefd8..96b32b652 100644 --- a/share/completions/gpasswd.fish +++ b/share/completions/gpasswd.fish @@ -1,4 +1,3 @@ - complete -c gpasswd -xa '(__fish_complete_groups)' complete -c gpasswd -s a -l add -d 'Add user to group' -xa '(__fish_complete_users)' complete -c gpasswd -s d -l delete -d 'Remove user from group' -xa '(__fish_complete_users)' diff --git a/share/completions/gphoto2.fish b/share/completions/gphoto2.fish index 16fa4876a..b379710e4 100644 --- a/share/completions/gphoto2.fish +++ b/share/completions/gphoto2.fish @@ -1,4 +1,3 @@ - #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' diff --git a/share/completions/gradle.fish b/share/completions/gradle.fish index da0d8e1f7..66287973d 100644 --- a/share/completions/gradle.fish +++ b/share/completions/gradle.fish @@ -66,7 +66,6 @@ complete --command gw --command gradle --command gradlew \ --exclusive \ --arguments "(__fish_gradle_get_task_completion)" - ############################### # Configure Option Completion # ############################### diff --git a/share/completions/heroku.fish b/share/completions/heroku.fish index df48dc6e3..950a3e8e8 100644 --- a/share/completions/heroku.fish +++ b/share/completions/heroku.fish @@ -141,7 +141,6 @@ complete $heroku_looking -xa auth:logout -d "clear local authentication credenti complete $heroku_looking -xa auth:token -d "display your api token" complete $heroku_looking -xa auth:whoami -d "display your heroku email address" - # Config options and subcommands complete -c heroku -n '__fish_heroku_using_command config' -s s -l shell -d "output config vars in shell format" diff --git a/share/completions/iconv.fish b/share/completions/iconv.fish index 03ee36a0d..5b67ec2a7 100644 --- a/share/completions/iconv.fish +++ b/share/completions/iconv.fish @@ -1,5 +1,3 @@ - - complete -c iconv -s f -l from-code -d "Convert from specified encoding" -x -a "(__fish_print_encodings)" complete -c iconv -s t -l to-code -d "Convert to specified encoding" -x -a "(__fish_print_encodings)" complete -c iconv -l list -d "List known coded character sets" diff --git a/share/completions/iptables.fish b/share/completions/iptables.fish index a8f2b9a18..3bfe9a51f 100644 --- a/share/completions/iptables.fish +++ b/share/completions/iptables.fish @@ -34,7 +34,6 @@ function __fish_iptables_user_chains end end - function __fish_iptables_chains set -l table (__fish_iptables_current_table) test -z $table diff --git a/share/completions/java_home.fish b/share/completions/java_home.fish index 102dffff8..38016bafc 100644 --- a/share/completions/java_home.fish +++ b/share/completions/java_home.fish @@ -1,4 +1,3 @@ - function __fish_complete_macos_java_version set -l json (/usr/libexec/java_home -X|plutil -convert json -o - -) osascript -l JavaScript -s o -e "JSON.parse('$json').forEach(e => console.log(`\${e.JVMVersion}\t\${e.JVMArch} \${e.JVMName} by--exec \${e.JVMVendor}`))" diff --git a/share/completions/jobs.fish b/share/completions/jobs.fish index 96ad91ae0..de399cfc9 100644 --- a/share/completions/jobs.fish +++ b/share/completions/jobs.fish @@ -1,5 +1,3 @@ - - complete -c jobs -s h -l help -d 'Display help and exit' complete -c jobs -s p -l pid -d "Show the process id of each process in the job" complete -c jobs -s g -l group -d "Show group id of job" diff --git a/share/completions/killall.fish b/share/completions/killall.fish index 5107ccf4d..728fae1af 100644 --- a/share/completions/killall.fish +++ b/share/completions/killall.fish @@ -19,7 +19,6 @@ for i in $__kill_signals and complete -c killall -s s -x -a "$number $name" end - complete -c killall -xa '(__fish_complete_proc | string replace -r -- "^-" "")' if killall --version >/dev/null 2>/dev/null # GNU diff --git a/share/completions/kitchen.fish b/share/completions/kitchen.fish index ce6a9833c..6889754ab 100644 --- a/share/completions/kitchen.fish +++ b/share/completions/kitchen.fish @@ -14,7 +14,6 @@ function __fish_kitchen_list command kitchen list --bare end - # help commands complete -c kitchen -f -n __fish_kitchen_no_command -a help -d "Describe available commands or one specific command" diff --git a/share/completions/kldload.fish b/share/completions/kldload.fish index b38be9927..a0b27b67f 100644 --- a/share/completions/kldload.fish +++ b/share/completions/kldload.fish @@ -24,7 +24,6 @@ function __fish_list_kldload_options end end - # Only attempt to match a local file if there isn't a match in /boot/kernel, # as odds are that is the desired source. complete -c kldload -xa '(__fish_list_kldload_options)' diff --git a/share/completions/locate.fish b/share/completions/locate.fish index 93a68b8f5..8af4d0955 100644 --- a/share/completions/locate.fish +++ b/share/completions/locate.fish @@ -1,4 +1,3 @@ - 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' diff --git a/share/completions/loginctl.fish b/share/completions/loginctl.fish index e3b883937..1c3198276 100644 --- a/share/completions/loginctl.fish +++ b/share/completions/loginctl.fish @@ -28,22 +28,18 @@ complete -c loginctl -x -n "not $seen $commands" -l signal -s s -d "Which signal complete -c loginctl -f -n "not $seen $commands" -l value -d "When showing properties, only print the value" complete -c loginctl -f -n "not $seen $commands" -l version -d "Show package version" - function __fish_loginctl_list_sessions loginctl list-sessions --no-legend --no-pager --output=short | string replace -r '^\s*(\d+)\s+\d+\s+(\S+)\s+(\S+\s+)?(\S+\d+).*' '$1\t$2 at $4' end - function __fish_loginctl_list_users loginctl list-users --no-legend --no-pager --output=short | string replace -r '(\d+) (\S+) .*' '$1\t$2' end - function __fish_loginctl_list_seats loginctl list-seats --no-legend --no-pager --output=short end - complete -c loginctl -n "$seen session-status show-session activate lock-session unlock-session terminate-session kill-session" -a '(__fish_loginctl_list_sessions)' complete -c loginctl -n "$seen user-status show-user enable-linger disable-linger terminate-user kill-user" -a '(__fish_loginctl_list_users)' complete -c loginctl -n "$seen seat-status show-seat attach terminate-seat" -a '(__fish_loginctl_list_seats)' diff --git a/share/completions/logkeys.fish b/share/completions/logkeys.fish index a3ed833b8..3613d45fa 100644 --- a/share/completions/logkeys.fish +++ b/share/completions/logkeys.fish @@ -1,4 +1,3 @@ - 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 output LOGFILE' diff --git a/share/completions/lpq.fish b/share/completions/lpq.fish index 9eaacfbf2..82602b9a9 100644 --- a/share/completions/lpq.fish +++ b/share/completions/lpq.fish @@ -1,3 +1,2 @@ - __fish_complete_lpr lpq complete -c lpq -s l -d 'Requests a more verbose (long) reporting format' diff --git a/share/completions/ls.fish b/share/completions/ls.fish index cb75e264d..8b0ab7126 100644 --- a/share/completions/ls.fish +++ b/share/completions/ls.fish @@ -17,7 +17,6 @@ complete -c ls -s t -d "Sort by modified time, most recent first" complete -c ls -s u -d "Sort by access time, (-l) show atime" complete -c ls -s x -d "Multi-column output, horizontally listed" - # Test if we are using GNU ls if ls --version >/dev/null 2>/dev/null complete -c ls -s a -l all -d "Show hidden" diff --git a/share/completions/lua.fish b/share/completions/lua.fish index 2dd4dfba0..9dcaeab3c 100644 --- a/share/completions/lua.fish +++ b/share/completions/lua.fish @@ -1,4 +1,3 @@ - complete -c lua -s e -d 'Execute string' -x # Try the most common lib directories, silencing errors in case they don't exist. complete -c lua -s l -d 'Require library' -xa "(find /usr/lib{,32,64}/lua/ -name \*.so -printf '%f\n' 2>/dev/null | string replace -r '.so\$' '')" diff --git a/share/completions/magento.fish b/share/completions/magento.fish index c1c97c1d9..b4139878c 100644 --- a/share/completions/magento.fish +++ b/share/completions/magento.fish @@ -137,7 +137,6 @@ function __fish_print_magento_languages -d "Shows all existing magento languages echo cy_GB\t"Welsh (United Kingdom)" end - function __fish_print_magento_source_theme_file_types -d "Shows all available source theme file types" echo less\t"Currently only LESS is supported" end @@ -247,7 +246,6 @@ function __fish_magento_parameter_missing -d "Checks if a parameter has been giv return 0 end - ################## # Global options # ################## @@ -608,7 +606,6 @@ __fish_magento_register_command_option setup:static-content:deploy -f -l exclude __fish_magento_register_command_option setup:static-content:deploy -x -s j -l jobs -d "Enable parallel processing using specified number of jobs (default: 4)" __fish_magento_register_command_option setup:static-content:deploy -f -l symlink-locale -d "Create symlinks for files of locales which are passed for deployment but have no customizations" - # # setup:store-config:set # diff --git a/share/completions/mc.fish b/share/completions/mc.fish index 218c680d6..77a7d6852 100644 --- a/share/completions/mc.fish +++ b/share/completions/mc.fish @@ -1,4 +1,3 @@ - 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' diff --git a/share/completions/mix.fish b/share/completions/mix.fish index fa98e850c..d70046765 100644 --- a/share/completions/mix.fish +++ b/share/completions/mix.fish @@ -18,7 +18,6 @@ function __fish_mix_using_command return 1 end - complete -f -c mix -n __fish_mix_needs_command -a app.start -d "Starts all registered apps" complete -f -c mix -n __fish_mix_needs_command -a archive -d "Lists all archives" complete -f -c mix -n __fish_mix_needs_command -a archive.build -d "Archives this project into a .ez file" diff --git a/share/completions/mkdir.fish b/share/completions/mkdir.fish index f33a69bca..0d2773d7e 100644 --- a/share/completions/mkdir.fish +++ b/share/completions/mkdir.fish @@ -1,4 +1,3 @@ - # Checks if we are using GNU tools if mkdir --version >/dev/null 2>/dev/null complete -c mkdir -l version -d 'Output version' diff --git a/share/completions/mosh.fish b/share/completions/mosh.fish index 2185d24da..8b2ae3bfd 100644 --- a/share/completions/mosh.fish +++ b/share/completions/mosh.fish @@ -1,4 +1,3 @@ - complete -x -c mosh -d Hostname -a "(__fish_complete_user_at_hosts)" complete -x -c mosh -d User -a " diff --git a/share/completions/msfvenom.fish b/share/completions/msfvenom.fish index 6df1acc01..19c9aabcc 100644 --- a/share/completions/msfvenom.fish +++ b/share/completions/msfvenom.fish @@ -44,7 +44,6 @@ function __fish_complete_msf_platforms echo $__fish_msf_cached_platforms end - complete -c msfvenom -f complete -c msfvenom -s l -l list -xa 'payloads encoders nops platforms archs encrypt formats all' -d 'List all modules for type' diff --git a/share/completions/msgfmt.fish b/share/completions/msgfmt.fish index 075c132ba..e533428dc 100644 --- a/share/completions/msgfmt.fish +++ b/share/completions/msgfmt.fish @@ -1,4 +1,3 @@ - complete -c msgfmt -s D -l directory -d "Add specified directory to list for input files search" -x -a "(__fish_complete_directories (commandline -ct))" set -l cond "not __fish_contains_opt -s j java java2 csharp csharp-resource tcl qt" @@ -12,7 +11,6 @@ complete -c msgfmt -n $cond -l qt -d "Generate a Qt .qm file" complete -c msgfmt -s o -l output-file -d "Write output to specified file" -r complete -c msgfmt -l strict -d "Enable strict Uniforum mode" - set -l cond "__fish_contains_opt -s j java java2 csharp csharp-resource tcl" complete -c msgfmt -n $cond -s r -l resource -d "Resource name" complete -c msgfmt -n $cond -s l -l locale -d "Locale name, either language or language_COUNTRY" diff --git a/share/completions/mvn.fish b/share/completions/mvn.fish index b9405d283..9349ab827 100644 --- a/share/completions/mvn.fish +++ b/share/completions/mvn.fish @@ -22,7 +22,6 @@ # mvn jboss:start ejb:ejb # Attention: Multiple plugins can be given - # Default lifecycles complete -c mvn -f -a 'pre-clean clean post-clean validate initialize generate-sources process-sources generate-resources process-resources compile process-classes generate-test-sources process-test-sources generate-test-resources process-test-resources test-compile process-test-classes testprepare-package package pre-integration-test integration-test post-integration-test verify install deploy pre-site site post-site site-deploy' @@ -102,12 +101,10 @@ complete -c mvn -o DperformRelease -d "Use release profile (create javadoc and a complete -c mvn -o Dmaven.surefire.debug -d "Run surefire tests with debugging on port 5005" complete -c mvn -o Dmaven.javadoc.skip -d "Skip Javadoc generation" - # # Plugin configurations # - # More plugins complete -c mvn -a "clean:clean" -d "Clean the build" complete -c mvn -a "clean:help" -d "Display help information on maven-clean-plugin" diff --git a/share/completions/nice.fish b/share/completions/nice.fish index e0f30d001..9a0d8b18e 100644 --- a/share/completions/nice.fish +++ b/share/completions/nice.fish @@ -1,5 +1,3 @@ - - complete -c nice -a "(__fish_complete_subcommand -- -n --adjustment)" -d Command complete -c nice -s n -l adjustment -n __fish_no_arguments -d "Add specified amount to niceness value" -x diff --git a/share/completions/obnam.fish b/share/completions/obnam.fish index 10436957d..70cabbd32 100644 --- a/share/completions/obnam.fish +++ b/share/completions/obnam.fish @@ -1,4 +1,3 @@ - function __fish_obnam_nosubcommand if __fish_seen_subcommand_from add-key backup client-keys clients diff dump-repo force-lock forget fsck \ generations genids help help-all kdirstat list-errors list-formats list-keys list-toplevels \ diff --git a/share/completions/openssl.fish b/share/completions/openssl.fish index aceb7f456..e5a57f7a3 100644 --- a/share/completions/openssl.fish +++ b/share/completions/openssl.fish @@ -1,4 +1,3 @@ - if string match -q "OpenSSL*" (command openssl version) # This is real OpenSSL that has the list command. function __fish_openssl_subcommand_options --description "Print options for openssl subcommand" diff --git a/share/completions/or.fish b/share/completions/or.fish index d95e0957d..cd2fd8d63 100644 --- a/share/completions/or.fish +++ b/share/completions/or.fish @@ -1,3 +1,2 @@ - complete -c or -s h -l help -d 'Display help and exit' complete -c or -xa '(__fish_complete_subcommand)' diff --git a/share/completions/pacaur.fish b/share/completions/pacaur.fish index e28e1273c..5880de9f2 100644 --- a/share/completions/pacaur.fish +++ b/share/completions/pacaur.fish @@ -45,7 +45,6 @@ complete -c $progname -n $noopt -s u -l update -d "(AUR) Update foreign packages complete -c $progname -n "$noopt; and not __fish_contains_opt -s d download" -s d -l download -d "(AUR) Clone the packages' build files" complete -c $progname -n "$noopt; and __fish_contains_opt -s d download" -s d -l download -d "Download dependencies recursively" - # General options # Only offer these once a command has been given so they get prominent display complete -c $progname -n $noopt -s b -l dbpath -d 'Alternative database location' -xa '(__fish_complete_directories)' diff --git a/share/completions/pacman-key.fish b/share/completions/pacman-key.fish index 942a09a7c..61fa47c4d 100644 --- a/share/completions/pacman-key.fish +++ b/share/completions/pacman-key.fish @@ -1,4 +1,3 @@ - complete -c pacman-key -s a -l add -d 'Add or update keys from ' complete -c pacman-key -l config -d 'Use an alternate config ' complete -c pacman-key -s d -l delete -d 'Remove the from the keyring' diff --git a/share/completions/pbget.fish b/share/completions/pbget.fish index baf478436..147007e37 100644 --- a/share/completions/pbget.fish +++ b/share/completions/pbget.fish @@ -1,4 +1,3 @@ - complete -c pbget -l abs -d 'Use the ABS tree' complete -c pbget -l arch -d 'Set the desired package architecture' complete -c pbget -l aur -d 'Search the AUR' diff --git a/share/completions/pdftotext.fish b/share/completions/pdftotext.fish index 9ef0691ad..15edd9dbe 100644 --- a/share/completions/pdftotext.fish +++ b/share/completions/pdftotext.fish @@ -1,4 +1,3 @@ - complete -c pdftotext -s f -d "First page to convert" complete -c pdftotext -s l -d "Last page to convert" complete -c pdftotext -s r -d "Resolution, in DPI [75]" diff --git a/share/completions/pgrep.fish b/share/completions/pgrep.fish index 0ff8793b0..d62023db3 100644 --- a/share/completions/pgrep.fish +++ b/share/completions/pgrep.fish @@ -1,4 +1,3 @@ - __fish_complete_pgrep pgrep complete -c pgrep -s d -r -d 'Output delimiter' complete -c pgrep -s l -d 'List the process name as well as the process ID' diff --git a/share/completions/pkill.fish b/share/completions/pkill.fish index 8aa5538e3..db257432b 100644 --- a/share/completions/pkill.fish +++ b/share/completions/pkill.fish @@ -1,4 +1,3 @@ - __fish_complete_pgrep pkill __fish_make_completion_signals for i in $__kill_signals diff --git a/share/completions/prt-get.fish b/share/completions/prt-get.fish index 801a94553..91486de5a 100644 --- a/share/completions/prt-get.fish +++ b/share/completions/prt-get.fish @@ -21,7 +21,6 @@ function __fish_prt_no_subcommand -d 'Test if prt-get has yet to be given the co return 0 end - # a function to verify if prt-get should have packages as potential completion function __fish_prt_use_package -d 'Test if prt-get should have packages as potential completion' for i in (commandline -xpc) diff --git a/share/completions/pydf.fish b/share/completions/pydf.fish index 75d12fb95..90b767d9d 100644 --- a/share/completions/pydf.fish +++ b/share/completions/pydf.fish @@ -1,4 +1,3 @@ - complete -c pydf -r -d 'Report colourised filesystem disk space usage' complete -c pydf -l help -d 'show this help message' complete -c pydf -s v -l version -d 'show version' diff --git a/share/completions/qubes-gpg-client.fish b/share/completions/qubes-gpg-client.fish index 5c73bb335..c2cac76f9 100644 --- a/share/completions/qubes-gpg-client.fish +++ b/share/completions/qubes-gpg-client.fish @@ -1,4 +1,3 @@ - # Completions for qubes-gpg-client. # These completions are mostly taken from fish's completions for gpg. # diff --git a/share/completions/random.fish b/share/completions/random.fish index f3f337bdd..e72be7869 100644 --- a/share/completions/random.fish +++ b/share/completions/random.fish @@ -1,2 +1 @@ - complete -c random -s h -l help -d "Display help and exit" diff --git a/share/completions/rcctl.fish b/share/completions/rcctl.fish index 0429be8f3..5962a692e 100644 --- a/share/completions/rcctl.fish +++ b/share/completions/rcctl.fish @@ -1,3 +1,2 @@ - complete -c rcctl -xa 'check ls reload restart stop start disable enable' -n 'not __fish_seen_subcommand_from list check ls reload restart stop start enable disable' complete -c rcctl -n '__fish_seen_subcommand_from check reload restart stop start enable disable' -xa '(set -l files /etc/rc.d/*; string replace "/etc/rc.d/" "" -- $files)' diff --git a/share/completions/readlink.fish b/share/completions/readlink.fish index 68f4776d7..e3eeae802 100644 --- a/share/completions/readlink.fish +++ b/share/completions/readlink.fish @@ -1,4 +1,3 @@ - complete -c readlink -s f -l canonicalize -d 'Canonicalize, follow symlinks, last can be missing' complete -c readlink -s e -l canonicalize-existing -d 'Canonicalize, follow symlinks, none can be missing' complete -c readlink -s m -l canonicalize-missing -d 'Canonicalize, follow symlinks, all can be missing' diff --git a/share/completions/renice.fish b/share/completions/renice.fish index dc8f01c9b..e4045e5de 100644 --- a/share/completions/renice.fish +++ b/share/completions/renice.fish @@ -1,4 +1,3 @@ - complete -c renice -s p -d "Force following parameters to be process ID's (The default)" complete -c renice -s g -d "Force following parameters to be interpreted as process group ID's" complete -c renice -s u -d "Force following parameters to be interpreted as user names" diff --git a/share/completions/return.fish b/share/completions/return.fish index ae696a70f..9dd9b0c33 100644 --- a/share/completions/return.fish +++ b/share/completions/return.fish @@ -1,4 +1,3 @@ - complete -c return -s h -l help -d "Display help and exit" complete -c return -x -a 0 -d "Return from function with normal exit status" complete -c return -x -a 1 -d "Return from function with abnormal exit status" diff --git a/share/completions/root.fish b/share/completions/root.fish index 0663ee522..e212fd927 100644 --- a/share/completions/root.fish +++ b/share/completions/root.fish @@ -1,4 +1,3 @@ - complete -c root -s b -d 'Run in batch mode' complete -c root -s n -d 'Do not execute logon and logoff macros' complete -c root -s q -d 'Exit after processing commandline macro files' diff --git a/share/completions/rpm-ostree.fish b/share/completions/rpm-ostree.fish index 68cab5300..59bbe28b0 100644 --- a/share/completions/rpm-ostree.fish +++ b/share/completions/rpm-ostree.fish @@ -53,18 +53,15 @@ complete -c rpm-ostree -n "not __fish_seen_subcommand_from $subcommands" -a upda # 2023-07-21: Any flag between rpm-ostree and usroverlay can cause Segmentation fault. https://github.com/coreos/rpm-ostree/issues/4508 complete -c rpm-ostree -n "not __fish_seen_subcommand_from $subcommands -" -a usroverlay -d "Apply transient overlayfs to /usr" - # apply-live complete -c rpm-ostree -n "__fish_seen_subcommand_from apply-live" -l target -d "Target provided commit" complete -c rpm-ostree -n "__fish_seen_subcommand_from apply-live" -l reset -d "Reset back to booted commit" complete -c rpm-ostree -n "__fish_seen_subcommand_from apply-live" -l allow-replacement -d "Allow replacement of packages/files" - # cancel complete -c rpm-ostree -n "__fish_seen_subcommand_from cancel" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from cancel" -l peer -d "Force peer-to-peer connection" - # cleanup complete -c rpm-ostree -n "__fish_seen_subcommand_from cleanup" -l os -d "=OSNAME Operate on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from cleanup" -l base -s b -d "Clear temporary files; will not change deployments" @@ -74,7 +71,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from cleanup" -l repomd -s m - complete -c rpm-ostree -n "__fish_seen_subcommand_from cleanup" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from cleanup" -l peer -d "Force peer-to-peer connection" - # compose # All compose subcommands # container-encapsulatedoes, image not have --quiet or --verison @@ -189,7 +185,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from compose; and __fish_seen_ complete -c rpm-ostree -n "__fish_seen_subcommand_from compose; and __fish_seen_subcommand_from tree" -l parent -d "=REV Commit with specific parent revision" complete -c rpm-ostree -n "__fish_seen_subcommand_from compose; and __fish_seen_subcommand_from tree" -r -F - # db set -l db_subcommands diff list version complete -c rpm-ostree -n "__fish_seen_subcommand_from db; and not __fish_seen_subcommand_from $db_subcommands" -a diff -d "Show package changes between two commits" @@ -211,7 +206,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from db; and __fish_seen_subco # db version complete -c rpm-ostree -n "__fish_seen_subcommand_from db; and __fish_seen_subcommand_from version" -l repo -s r -r -d "=REPO Path to OSTree repo" - # deploy complete -c rpm-ostree -n "__fish_seen_subcommand_from deploy" -l os -d "=OSNAME Operate on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from deploy" -l reboot -s r -d "Reboot after operation complete" @@ -228,7 +222,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from deploy" -l peer -d "Force complete -c rpm-ostree -n "__fish_seen_subcommand_from deploy" -l install -d "=PKG Overlay additional package" complete -c rpm-ostree -n "__fish_seen_subcommand_from deploy" -l uninstall -d "=PKG Remove overlayed additional package" - # initramfs complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs" -l os -d "=OSNAME Operate on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs" -l enable -d "Enable regenerating initramfs locally using dracut" @@ -238,7 +231,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs" -l reboot -s r complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs" -l peer -d "Force peer-to-peer connection" - # initramfs-etc complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs-etc" -l os -d "=OSNAME Operate on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs-etc" -l force-sync -d "Deploy a new tree with the latest tracked /etc files" @@ -250,7 +242,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs-etc" -l unchang complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs-etc" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from initramfs-etc" -l peer -d "Force peer-to-peer connection" - # install, there is also compose install complete -c rpm-ostree -n "__fish_seen_subcommand_from install; and not __fish_seen_subcommand_from compose" -l uninstall -d "=PKG Remove overlayed additional package" complete -c rpm-ostree -n "__fish_seen_subcommand_from install; and not __fish_seen_subcommand_from compose" -l cache-only -s C -d "Skip downloading latest ostree/RPM data" @@ -270,7 +261,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from install; and not __fish_s complete -c rpm-ostree -n "__fish_seen_subcommand_from install; and not __fish_seen_subcommand_from compose" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from install; and not __fish_seen_subcommand_from compose" -l peer -d "Force peer-to-peer connection" - # kargs complete -c rpm-ostree -n "__fish_seen_subcommand_from kargs" -l os -d "=OSNAME Operation on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from kargs" -l deploy-index -d "=INDEX Modify kernel args of a deployment by index" @@ -286,7 +276,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from kargs" -l editor -d "Use complete -c rpm-ostree -n "__fish_seen_subcommand_from kargs" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from kargs" -l peer -d "Force peer-to-peer connection" - # override set -l override_subcommands remove replace reset complete -c rpm-ostree -n "__fish_seen_subcommand_from override; and not __fish_seen_subcommand_from $override_subcommands" -a remove -d "Remove packages from the base layer" @@ -326,7 +315,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from override; and __fish_seen complete -c rpm-ostree -n "__fish_seen_subcommand_from override; and __fish_seen_subcommand_from reset" -l install -d "=PKG Overlay additional package" complete -c rpm-ostree -n "__fish_seen_subcommand_from override; and __fish_seen_subcommand_from reset" -l uninstall -d "=PKG Remove overlayed package" - # rebase complete -c rpm-ostree -n "__fish_seen_subcommand_from rebase" -l os -d "=OSNAME Operate on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from rebase" -l branch -s b -x -d "=BRANCH Rebase to branch BRANCH" @@ -345,19 +333,16 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from rebase" -l peer -d "Force complete -c rpm-ostree -n "__fish_seen_subcommand_from rebase" -l install -d "=PKG Overlay additional package" complete -c rpm-ostree -n "__fish_seen_subcommand_from rebase" -l uninstall -d "=PKG Remove overlayed package" - # refresh-md complete -c rpm-ostree -n "__fish_seen_subcommand_from refresh-md" -l os -d "=OSNAME Operate on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from refresh-md" -l force -d "Expire current cache" complete -c rpm-ostree -n "__fish_seen_subcommand_from refresh-md" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from refresh-md" -l peer -d "Force peer-to-peer connection" - # reload complete -c rpm-ostree -n "__fish_seen_subcommand_from reload" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from refresh-md" -l peer -d "Force peer-to-peer connection" - # reset, there is also override reset complete -c rpm-ostree -n "__fish_seen_subcommand_from reset; and not __fish_seen_subcommand_from override" -l os -d "=OSNAME Operate on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from reset; and not __fish_seen_subcommand_from override" -l reboot -s r -d "Reboot after transaction" @@ -369,7 +354,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from reset; and not __fish_see complete -c rpm-ostree -n "__fish_seen_subcommand_from reset; and not __fish_seen_subcommand_from override" -l install -d "=PKG Overlay additional package" complete -c rpm-ostree -n "__fish_seen_subcommand_from reset; and not __fish_seen_subcommand_from override" -l uninstall -d "=PKG Remove overlayed package" - # rollback complete -c rpm-ostree -n "__fish_seen_subcommand_from rollback" -l reboot -s r -d "Reboot after transaction" complete -c rpm-ostree -n "__fish_seen_subcommand_from rollback" -l sysroot -r -d "=SYSROOT Use system root" @@ -385,8 +369,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from status" -l pending-exit-7 complete -c rpm-ostree -n "__fish_seen_subcommand_from status" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from status" -l peer -d "Force peer-to-peer connection" - - # uninstall and remove, there is also override remove complete -c rpm-ostree -n "__fish_seen_subcommand_from uninstall remove; and not __fish_seen_subcommand_from override" -l install -d "=PKG Overlay additional package" complete -c rpm-ostree -n "__fish_seen_subcommand_from uninstall remove; and not __fish_seen_subcommand_from override" -l all -d "Remove all overlayed packages" @@ -403,7 +385,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from uninstall remove; and not complete -c rpm-ostree -n "__fish_seen_subcommand_from uninstall remove; and not __fish_seen_subcommand_from override" -l sysroot -r -d "=SYSROOT Use system root" complete -c rpm-ostree -n "__fish_seen_subcommand_from uninstall remove; and not __fish_seen_subcommand_from override" -l peer -d "Force peer-to-peer connection" - # upgrade complete -c rpm-ostree -n "__fish_seen_subcommand_from update upgrade" -l os -d "=OSNAME Operate on provided OSNAME" complete -c rpm-ostree -n "__fish_seen_subcommand_from update upgrade" -l reboot -s r -d "Reboot after operation" @@ -419,7 +400,6 @@ complete -c rpm-ostree -n "__fish_seen_subcommand_from update upgrade" -l peer - complete -c rpm-ostree -n "__fish_seen_subcommand_from update upgrade" -l install -d "=PKG Overlay additional package" complete -c rpm-ostree -n "__fish_seen_subcommand_from update upgrade" -l uninstall -d "=PKG Remove overlayed package" - # usroverlay # Usage: rpm-ostree usroverlay # diff --git a/share/completions/sbt.fish b/share/completions/sbt.fish index 4e124adf8..61cd428c0 100644 --- a/share/completions/sbt.fish +++ b/share/completions/sbt.fish @@ -36,7 +36,6 @@ complete -c sbt -f -a '(string split "\n" " complete -c sbt -f -n 'test (count (commandline -cpx)) = 1 ' -a new -d 'Create a new sbt project from the given template' complete -c sbt -f -n 'test (count (commandline -cpx)) = 1 ' -a client -d 'Connect to a server with an interactive sbt prompt' - ########### # OPTIONS # ########### diff --git a/share/completions/scp.fish b/share/completions/scp.fish index 8fe537218..5bb7ce036 100644 --- a/share/completions/scp.fish +++ b/share/completions/scp.fish @@ -1,7 +1,6 @@ # Load completions shared by various ssh tools like ssh, scp and sftp. __fish_complete_ssh scp - # Helper functions to simplify the completions. function __scp2ssh_port_number # There is a silly inconsistency between the ssh and scp commands regarding the short flag name diff --git a/share/completions/screen.fish b/share/completions/screen.fish index 3511d7a0a..9d44547d6 100644 --- a/share/completions/screen.fish +++ b/share/completions/screen.fish @@ -46,7 +46,6 @@ function __fish_complete_screen -d "Print a list of running screen sessions" string join \n (__fish_complete_screen_attached) (__fish_complete_screen_detached) end - # detect socket directory for mac users __fish_detect_screen_socket_dir diff --git a/share/completions/scrot.fish b/share/completions/scrot.fish index 65830f201..1059cec1e 100644 --- a/share/completions/scrot.fish +++ b/share/completions/scrot.fish @@ -1,4 +1,3 @@ - complete -c scrot -s h -l help -d 'Display help and exit' complete -c scrot -s v -l version -d 'Display version information and exit' complete -c scrot -s b -l border -d 'When selecting a window, grab wm border too' diff --git a/share/completions/sort.fish b/share/completions/sort.fish index c6385561e..470d7d5c8 100644 --- a/share/completions/sort.fish +++ b/share/completions/sort.fish @@ -1,4 +1,3 @@ - complete -c sort -s b -l ignore-leading-blanks -d "Ignore leading blanks" complete -c sort -s d -l dictionary-order -d "Consider only blanks and alphanumerics" complete -c sort -s f -l ignore-case -d "Ignore case" diff --git a/share/completions/sv.fish b/share/completions/sv.fish index 87e7c403e..5cb9bfc71 100644 --- a/share/completions/sv.fish +++ b/share/completions/sv.fish @@ -2,7 +2,6 @@ # A part of the runit init system # Author: Leonardo da Rosa Eugênio - set -l commands \ status up down once s u d o pause cont hup \ alarm interrupt quit 1 2 term kill exit p c h \ @@ -26,11 +25,9 @@ end complete -f -c sv -a "(__fish_complete_sv_list_services)" -n "__fish_seen_subcommand_from $commands" - complete -fc sv -s v -d "Report status for up, down, term, once, cont, and exit" complete -fc sv -s w -d "Override the default timeout to report status" - set -l no_comm "not __fish_seen_subcommand_from $commands" complete -kfc sv -n $no_comm -a check -d "Check if the service is in it's requested state" diff --git a/share/completions/tar.fish b/share/completions/tar.fish index d3574b943..a836b7840 100644 --- a/share/completions/tar.fish +++ b/share/completions/tar.fish @@ -113,7 +113,6 @@ complete -c tar -l rmt-command -r -d "Use COMMAND instead of rmt" complete -c tar -l rsh-command -r -d "Use COMMAND instead of rsh" complete -c tar -l volno-file -r -d "keep track of which volume of a multi-volume archive it is working in FILE" - complete -c tar -s f -l file -r -d "Archive file" complete -c tar -s f -l file -r -d "Archive file" complete -c tar -s f -l file -r -d "Archive file" diff --git a/share/completions/transmission-remote.fish b/share/completions/transmission-remote.fish index c18967023..c3d2873fa 100644 --- a/share/completions/transmission-remote.fish +++ b/share/completions/transmission-remote.fish @@ -1,4 +1,3 @@ - complete -c transmission-remote -s a -l add -d 'Add torrents to transmission' complete -c transmission-remote -s b -l debug -d 'Enable debugging mode' complete -c transmission-remote -o as -l alt-speed -d 'Use the alternate Limits' diff --git a/share/completions/trap.fish b/share/completions/trap.fish index 0f0cc2d4a..603b772eb 100644 --- a/share/completions/trap.fish +++ b/share/completions/trap.fish @@ -1,4 +1,3 @@ - complete -c trap -s l -l list-signals -d 'Display names of all signals' complete -c trap -s p -l print -d 'Display all currently defined trap handlers' complete -c trap -s h -l help -d 'Display help and exit' diff --git a/share/completions/type.fish b/share/completions/type.fish index 209db6b87..8e041ef38 100644 --- a/share/completions/type.fish +++ b/share/completions/type.fish @@ -1,4 +1,3 @@ - complete -c type -s h -l help -d "Display help and exit" complete -c type -s a -l all -d "Print all possible definitions of the specified name" complete -c type -s f -l no-functions -d "Suppress function and builtin lookup" diff --git a/share/completions/ulimit.fish b/share/completions/ulimit.fish index f510e5a3d..939ad0228 100644 --- a/share/completions/ulimit.fish +++ b/share/completions/ulimit.fish @@ -1,4 +1,3 @@ - complete -c ulimit -s S -l soft -d "Set or get soft limit" complete -c ulimit -s H -l hard -d "Set or get hard limit" diff --git a/share/completions/valgrind.fish b/share/completions/valgrind.fish index 6e99305c9..5bc75be12 100644 --- a/share/completions/valgrind.fish +++ b/share/completions/valgrind.fish @@ -48,7 +48,6 @@ complete -xc valgrind -l db-attach -d "Start debugger on error" -a "yes no" complete -rc valgrind -l db-command -d "Debugger command" complete -xc valgrind -l input-fd -d "File descriptor for input" -a "0 1 2 3 4 5 6 7 8 9" - # Memcheck-specific options complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l leak-check -d "Check for memory leaks" -a "no\tDon\'t\ check\ for\ memory\ leaks summary\t'Show a leak summary' full\t'Describe memory leaks in detail'" complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l show-reachable -d "Show reachable leaked memory" -a "yes\t'Show reachable leaked memory' no\t'Do not show reachable leaked memory'" @@ -57,7 +56,6 @@ complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l freelist-vol -d "Set complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l partial-loads-ok -d 'How to handle loads of words that are partially addressible' -a 'yes\t"Do not emit errors on partial loads" no\t"Emit errors on partial loads"' complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l avoid-strlen-errors -d 'Whether to skip error reporting for the strlen function' -a 'yes no' - # Addrcheck-specific options complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l leak-check -d "Check for memory leaks" -a "no\t'Do not check for memory leaks' summary\t'Show a leak summary' full\t'Describe memory leaks in detail'" complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l show-reachable -d "Show reachable leaked memory" -a "yes\t'Show reachable leaked memory' no\t'Do not show reachable leaked memory'" @@ -71,7 +69,6 @@ complete -n "__fish_valgrind_skin cachegrind" -xc valgrind -l I1 -d "Type of L1 complete -n "__fish_valgrind_skin cachegrind" -xc valgrind -l D1 -d "Type of L1 data cache" complete -n "__fish_valgrind_skin cachegrind" -xc valgrind -l L2 -d "Type of L2 cache" - function __fish_print_function_prototypes -d "Prints the names of all function prototypes found in the headers in the current directory" set -l headers *.h *.hh *.hpp *.hxx if set -q headers[1] diff --git a/share/completions/vim-addons.fish b/share/completions/vim-addons.fish index d615632d5..08f8d689f 100644 --- a/share/completions/vim-addons.fish +++ b/share/completions/vim-addons.fish @@ -1,4 +1,3 @@ - # Completion for vim-addons # ========================= # @@ -40,7 +39,6 @@ complete -c vim-addons -n "contains files (commandline -pxc)" -a "(vim-addons li complete -c vim-addons -n __fish_vim-addons_subcommand -a show -x -d "displays detailed information about the specified addons" complete -c vim-addons -n "contains show (commandline -pxc)" -a "(vim-addons list)" -x - # Options # -------- complete -c vim-addons -s h -l help -d "show this usage message and exit" diff --git a/share/completions/virsh.fish b/share/completions/virsh.fish index 1da2d8a10..c55924fa6 100644 --- a/share/completions/virsh.fish +++ b/share/completions/virsh.fish @@ -94,7 +94,6 @@ function __fish_virsh_get_networks end end - # virsh complete -c virsh -n "not __fish_seen_subcommand_from $cmds" -x complete -c virsh -n "not __fish_seen_subcommand_from $cmds" -l connect -s -x -d "Specify hypervisor connection URI" diff --git a/share/completions/vmctl.fish b/share/completions/vmctl.fish index 7785b2b9d..45882a4eb 100644 --- a/share/completions/vmctl.fish +++ b/share/completions/vmctl.fish @@ -1,4 +1,3 @@ - function __fish_get_vmctl_vms for line in (vmctl status | string match -e -v "MAXMEM") set -l a (string split " " $line) diff --git a/share/completions/wpa_cli.fish b/share/completions/wpa_cli.fish index 595dc8644..a6a8ec51a 100644 --- a/share/completions/wpa_cli.fish +++ b/share/completions/wpa_cli.fish @@ -1,4 +1,3 @@ - #completions for wpa_cli complete -x -c wpa_cli -a status -d 'get current WPA/EAPOL/EAP status' complete -x -c wpa_cli -a mib -d 'get MIB variables (dot1x, dot11)' diff --git a/share/completions/wvdial.fish b/share/completions/wvdial.fish index 154742869..5dd93cc86 100644 --- a/share/completions/wvdial.fish +++ b/share/completions/wvdial.fish @@ -23,7 +23,6 @@ function __fish_complete_wvdial_peers --description 'Complete wvdial peers' --ar string match -r '\[Dialer' <$file | string replace -r '\[Dialer (.+)\]' '$1' end | path sort -u | string match -v Defaults - end complete -c wvdial -xa "(__fish_complete_wvdial_peers)" -d "wvdial connections" diff --git a/share/completions/xterm.fish b/share/completions/xterm.fish index 738d32aa3..997d5712b 100644 --- a/share/completions/xterm.fish +++ b/share/completions/xterm.fish @@ -1,6 +1,5 @@ # completion for xterm - complete -c xterm -n 'string match "+*" -- (commandline -ct)' -a +ah -d 'Never highlight the text cursor' complete -c xterm -n 'string match "+*" -- (commandline -ct)' -a +ai -d 'Enable active icon support' complete -c xterm -n 'string match "+*" -- (commandline -ct)' -a +aw -d 'Disallow auto wraparound' diff --git a/share/completions/zabbix_agentd.fish b/share/completions/zabbix_agentd.fish index d7fe330ff..e6c0c6280 100644 --- a/share/completions/zabbix_agentd.fish +++ b/share/completions/zabbix_agentd.fish @@ -4,7 +4,6 @@ set -l runtime userparameter_reload \ log_level_decrease \ log_level_decrease= - function __fish_string_in_command -a ch string match -rq $ch (commandline) end diff --git a/share/completions/zabbix_get.fish b/share/completions/zabbix_get.fish index aee4063b4..ead863b00 100644 --- a/share/completions/zabbix_get.fish +++ b/share/completions/zabbix_get.fish @@ -7,7 +7,6 @@ complete -c zabbix_get -f -s k -l key -d "Specify key of item to retrieve value complete -c zabbix_get -f -s h -l help -d "Display this help and exit." complete -c zabbix_get -f -s V -l version -d "Output version information and exit." - # TLS complete -c zabbix_get -f -r -l tls-connect -a "unencrypted psk cert" -d "How to connect to agent." complete -c zabbix_get -l tls-ca-file -F -d "Full path of a file with the top-level CA(s)." diff --git a/share/completions/zabbix_proxy.fish b/share/completions/zabbix_proxy.fish index d7cbaf61f..d6baec4fb 100644 --- a/share/completions/zabbix_proxy.fish +++ b/share/completions/zabbix_proxy.fish @@ -8,7 +8,6 @@ set -l runtime config_cache_reload \ log_level_decrease \ log_level_decrease= - function __fish_string_in_command -a ch string match -rq $ch (commandline) end @@ -43,7 +42,6 @@ function __fish_prepend -a prefix end end - # General complete -c zabbix_proxy -s c -l config -d "Use an alternate config-file." complete -c zabbix_proxy -f -s f -l foreground -d "Run Zabbix agent in foreground." diff --git a/share/completions/zabbix_sender.fish b/share/completions/zabbix_sender.fish index 8899c6373..9499ba1fb 100644 --- a/share/completions/zabbix_sender.fish +++ b/share/completions/zabbix_sender.fish @@ -15,7 +15,6 @@ complete -c zabbix_sender -s N -l with-ns -d "Timestamps have nanosecond portion complete -c zabbix_sender -s r -l real-time -d "Send values as soon as they are received." complete -c zabbix_sender -s v -l verbose -d "Verbose mode, -vv for more details." - # TLS complete -c zabbix_sender -f -r -l tls-connect -a "unencrypted psk cert" -d "How to connect to agent." complete -c zabbix_sender -l tls-ca-file -F -d "Full path of a with the top-level CA(s)." diff --git a/share/completions/zabbix_server.fish b/share/completions/zabbix_server.fish index 35ff38413..028a99efe 100644 --- a/share/completions/zabbix_server.fish +++ b/share/completions/zabbix_server.fish @@ -20,7 +20,6 @@ set -l runtime config_cache_reload \ set -l scope rwlock mutex processing - function __fish_string_in_command -a ch string match -rq $ch (commandline) end @@ -67,7 +66,6 @@ function __fish_prepend -a prefix end end - function __fish_list_nodes zabbix_server -R ha_status | tail -n+4 | awk '{print "ha_remove_node="$3}' end @@ -79,7 +77,6 @@ complete -c zabbix_server -f -s h -l help -d "Display this help message." complete -c zabbix_server -f -s V -l version -d "Display version number." complete -c zabbix_server -f -s R -l runtime-control -a "$runtime" -d "Perform administrative functions." - # Log levels complete -c zabbix_server -r -f -s R -l runtime-control -n "__fish_string_in_command log_level_increase" -a "(__fish_prepend log_level_increase)" complete -c zabbix_server -r -f -s R -l runtime-control -n "__fish_string_in_command log_level_decrease" -a "(__fish_prepend log_level_decrease)" diff --git a/share/config.fish b/share/config.fish index 69c7d56eb..9f9a93139 100644 --- a/share/config.fish +++ b/share/config.fish @@ -14,7 +14,6 @@ function __fish_default_command_not_found_handler printf (_ "fish: Unknown command: %s\n") (string escape -- $argv[1]) >&2 end - if not status --is-interactive # Hook up the default as the command_not_found handler # if we are not interactive to avoid custom handlers. diff --git a/share/functions/N_.fish b/share/functions/N_.fish index efdb266c1..292339b21 100644 --- a/share/functions/N_.fish +++ b/share/functions/N_.fish @@ -1,5 +1,3 @@ - - function N_ --description No-op printf "%s" $argv end diff --git a/share/functions/__fish_complete_gpg.fish b/share/functions/__fish_complete_gpg.fish index 0e014fb19..2c9f8e2c5 100644 --- a/share/functions/__fish_complete_gpg.fish +++ b/share/functions/__fish_complete_gpg.fish @@ -158,7 +158,6 @@ function __fish_complete_gpg -d "Internal function for gpg completion code dedup complete -c $__fish_complete_gpg_command -l warranty -d "Display warranty and exit" complete -c $__fish_complete_gpg_command -s h -l help -d "Display help and exit" - # # gpg options # diff --git a/share/functions/__fish_complete_groups.fish b/share/functions/__fish_complete_groups.fish index 021b1bd49..5acc21290 100644 --- a/share/functions/__fish_complete_groups.fish +++ b/share/functions/__fish_complete_groups.fish @@ -1,4 +1,3 @@ - function __fish_complete_groups --description "Print a list of local groups, with group members as the description" if command -sq getent getent group | while read -l line diff --git a/share/functions/__fish_complete_list.fish b/share/functions/__fish_complete_list.fish index a832cbf63..9947340ed 100644 --- a/share/functions/__fish_complete_list.fish +++ b/share/functions/__fish_complete_list.fish @@ -26,5 +26,4 @@ where: end end - end diff --git a/share/functions/__fish_complete_lpr_option.fish b/share/functions/__fish_complete_lpr_option.fish index 637923d03..8d558c83c 100644 --- a/share/functions/__fish_complete_lpr_option.fish +++ b/share/functions/__fish_complete_lpr_option.fish @@ -20,5 +20,4 @@ function __fish_complete_lpr_option --description 'Complete lpr option' lpoptions -l 2>/dev/null | string replace -r '(.*)/(.*):.*$' '$1=\t$2' end - end diff --git a/share/functions/__fish_complete_man.fish b/share/functions/__fish_complete_man.fish index ff0a48d4d..57f8eb6ac 100644 --- a/share/functions/__fish_complete_man.fish +++ b/share/functions/__fish_complete_man.fish @@ -1,4 +1,3 @@ - function __fish_complete_man # Try to guess what section to search in. If we don't know, we # use [^)]*, which should match any section. diff --git a/share/functions/__fish_complete_pgrep.fish b/share/functions/__fish_complete_pgrep.fish index c69b4de79..b74b7dc39 100644 --- a/share/functions/__fish_complete_pgrep.fish +++ b/share/functions/__fish_complete_pgrep.fish @@ -1,4 +1,3 @@ - function __fish_complete_pgrep -d 'Complete pgrep/pkill' --argument-names cmd complete -c $cmd -xa '(__fish_complete_proc)' complete -c $cmd -s f -d 'Match pattern against full command line' diff --git a/share/functions/__fish_complete_ssh.fish b/share/functions/__fish_complete_ssh.fish index 1729befc6..a628429a0 100644 --- a/share/functions/__fish_complete_ssh.fish +++ b/share/functions/__fish_complete_ssh.fish @@ -104,7 +104,6 @@ function __fish_complete_ssh -d "common completions for ssh commands" --argument complete -c $command -s v -d "Verbose mode" end - function __fish_ssh_ciphers -d "List of possible SSH cipher algorithms" ssh -Q cipher end diff --git a/share/functions/__fish_complete_wireshark.fish b/share/functions/__fish_complete_wireshark.fish index 1baaf115d..bf1de5a4a 100644 --- a/share/functions/__fish_complete_wireshark.fish +++ b/share/functions/__fish_complete_wireshark.fish @@ -40,7 +40,6 @@ function __fish_tshark_decode_as end end - function __fish_complete_wireshark set -l shark $argv complete -c $shark -s a -l autostop -d 'Specify a criterion to stop writing the capture file' -xa ' diff --git a/share/functions/__fish_is_first_token.fish b/share/functions/__fish_is_first_token.fish index 9e11e3829..a89cf39cd 100644 --- a/share/functions/__fish_is_first_token.fish +++ b/share/functions/__fish_is_first_token.fish @@ -1,4 +1,3 @@ - function __fish_is_first_token -d 'Test if no non-switch argument has been specified yet' __fish_is_nth_token 1 end diff --git a/share/functions/__fish_no_arguments.fish b/share/functions/__fish_no_arguments.fish index 8dea4467f..c40b6fbff 100644 --- a/share/functions/__fish_no_arguments.fish +++ b/share/functions/__fish_no_arguments.fish @@ -1,4 +1,3 @@ - function __fish_no_arguments -d "Internal fish function" set -l cmd (commandline -pxc) (commandline -tc) set -e cmd[1] diff --git a/share/functions/__fish_preview_current_file.fish b/share/functions/__fish_preview_current_file.fish index 984667909..c8712380a 100644 --- a/share/functions/__fish_preview_current_file.fish +++ b/share/functions/__fish_preview_current_file.fish @@ -3,7 +3,6 @@ function __fish_preview_current_file --description "Open the file at the cursor return 0 end - set -l pager (__fish_anypager) or set pager cat diff --git a/share/functions/__fish_print_lpr_printers.fish b/share/functions/__fish_print_lpr_printers.fish index b070a16b2..d54cc4430 100644 --- a/share/functions/__fish_print_lpr_printers.fish +++ b/share/functions/__fish_print_lpr_printers.fish @@ -1,5 +1,4 @@ function __fish_print_lpr_printers --description 'Print lpr printers' lpstat -p 2>/dev/null | sed 's/^\S*\s\(\S*\)\s\(.*\)$/\1\t\2/' - end diff --git a/share/functions/__fish_shared_key_bindings.fish b/share/functions/__fish_shared_key_bindings.fish index dff703b1b..36dc582fb 100644 --- a/share/functions/__fish_shared_key_bindings.fish +++ b/share/functions/__fish_shared_key_bindings.fish @@ -193,7 +193,6 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod # Shift-space (CSI u escape sequence) behaves like space because it's easy to mistype. bind --preset $argv \e\[32\;2u 'commandline -i " "; commandline -f expand-abbr' - bind --preset $argv \n execute bind --preset $argv \r execute # Make Control+Return behave like Return because it's easy to mistype after accepting an autosuggestion. diff --git a/share/functions/__fish_use_subcommand.fish b/share/functions/__fish_use_subcommand.fish index 1e86ef998..f183a5980 100644 --- a/share/functions/__fish_use_subcommand.fish +++ b/share/functions/__fish_use_subcommand.fish @@ -1,4 +1,3 @@ - function __fish_use_subcommand -d "Test if a non-switch argument has been given in the current commandline" set -l cmd (commandline -pxc) set -e cmd[1] diff --git a/share/functions/down-or-search.fish b/share/functions/down-or-search.fish index bc4553141..aac6c5923 100644 --- a/share/functions/down-or-search.fish +++ b/share/functions/down-or-search.fish @@ -11,7 +11,6 @@ function down-or-search -d "search forward or move down 1 line" return end - # We are not already in search mode. # If we are on the bottom line, start search mode, # otherwise move down diff --git a/share/functions/fish_fossil_prompt.fish b/share/functions/fish_fossil_prompt.fish index 89f871d38..bc072c11e 100644 --- a/share/functions/fish_fossil_prompt.fish +++ b/share/functions/fish_fossil_prompt.fish @@ -46,8 +46,6 @@ function fish_fossil_prompt --description 'Write out the fossil prompt' set -q fish_prompt_fossil_status_order or set -g fish_prompt_fossil_status_order added modified renamed deleted missing untracked conflict - - echo -n ' (' set_color magenta echo -n "$branch" diff --git a/share/functions/fish_git_prompt.fish b/share/functions/fish_git_prompt.fish index c015686ef..c8b55547f 100644 --- a/share/functions/fish_git_prompt.fish +++ b/share/functions/fish_git_prompt.fish @@ -625,7 +625,6 @@ function __fish_git_prompt_set_color end end - function __fish_git_prompt_validate_colors --description "fish_git_prompt helper, checks color variables" # Base color defaults to nothing (must be done first) diff --git a/share/functions/fish_svn_prompt.fish b/share/functions/fish_svn_prompt.fish index ae4593b38..7e135a10d 100644 --- a/share/functions/fish_svn_prompt.fish +++ b/share/functions/fish_svn_prompt.fish @@ -64,7 +64,6 @@ set -g __fish_svn_prompt_char_token_stolen_color --bold purple set -g __fish_svn_prompt_char_token_broken_display B set -g __fish_svn_prompt_char_token_broken_color --bold magenta - # ============================== function __fish_svn_prompt_parse_status --description "helper function that does pretty formatting on svn status" @@ -88,7 +87,6 @@ function __fish_svn_prompt_parse_status --description "helper function that does end end - function fish_svn_prompt --description "Prompt function for svn" # if svn isn't installed or doesn't offer svnversion then don't do anything if not command -sq svn svnversion diff --git a/share/functions/help.fish b/share/functions/help.fish index 4c99d34f6..dd5480b1d 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -120,9 +120,6 @@ function help --description 'Show help for the fish shell' set -l langpages argument-handling autoloading-functions brace-expansion builtin-commands builtin-overview cartesian-product combine combining-different-expansions combining-lists-cartesian-product command-substitution comments conditions debugging debugging-fish-scripts defining-aliases escapes escaping-characters event event-handlers expand expand-brace expand-command-substitution expand-home expand-index-range expand-variable expand-wildcard exporting-variables featureflags functions future-feature-flags home-directory-expansion identifiers index-range-expansion input-output-redirection job-control language lists locale-variables loops-and-blocks more-on-universal-variables overriding-variables-for-a-single-command parameter-expansion path-variables pipes piping quotes redirects shell-variable-and-function-names shell-variables special-variables syntax syntax-conditional syntax-function syntax-function-autoloading syntax-function-wrappers syntax-job-control syntax-loops-and-blocks syntax-overview terminology the-fish-language the-status-variable variable-expansion variables variables-argv variable-scope variable-scope-for-functions variables-export variables-functions variables-lists variables-locale variables-override variables-path variables-scope variables-special variables-status variables-universal wildcards-globbing configuration set -l tutpages autoloading-functions autosuggestions combiners-and-or-not command-substitutions conditionals-if-else-switch exit-status exports-shell-variables functions getting-help getting-started learning-fish lists loops pipes-and-redirections prompt ready-for-more running-commands separating-commands-semicolon startup-where-s-bashrc switching-to-fish syntax-highlighting tab-completions tut-combiners tut-conditionals tut-config tut-exports tut-lists tutorial tut-semicolon tut-universal universal-variables variables why-fish wildcards - - - set -l fish_help_page switch "$fish_help_item" case "." diff --git a/share/functions/popd.fish b/share/functions/popd.fish index 69eda0862..b54551b11 100644 --- a/share/functions/popd.fish +++ b/share/functions/popd.fish @@ -1,4 +1,3 @@ - function popd --description "Pop directory from the stack and cd to it" if count $argv >/dev/null switch $argv[1] diff --git a/share/tools/web_config/sample_prompts/nim.fish b/share/tools/web_config/sample_prompts/nim.fish index 641751f42..6cf21b3b2 100644 --- a/share/tools/web_config/sample_prompts/nim.fish +++ b/share/tools/web_config/sample_prompts/nim.fish @@ -1,7 +1,6 @@ # name: Nim # author: Guilhem "Nim" Saurel − https://github.com/nim65s/dotfiles/ - function fish_prompt # This prompt shows: # - green lines if the last return command is OK, red otherwise @@ -104,7 +103,6 @@ function fish_prompt _nim_prompt_wrapper $retc '' $mode end - # Virtual Environment set -q VIRTUAL_ENV_DISABLE_PROMPT or set -g VIRTUAL_ENV_DISABLE_PROMPT true diff --git a/share/tools/web_config/sample_prompts/pythonista.fish b/share/tools/web_config/sample_prompts/pythonista.fish index c754d61c2..b4ff62adc 100644 --- a/share/tools/web_config/sample_prompts/pythonista.fish +++ b/share/tools/web_config/sample_prompts/pythonista.fish @@ -1,7 +1,6 @@ # name: Simple Pythonista # author: davbo - function fish_prompt if not set -q VIRTUAL_ENV_DISABLE_PROMPT set -g VIRTUAL_ENV_DISABLE_PROMPT true