diff --git a/share/completions/and.fish b/share/completions/and.fish index da0d54a32..1133aa012 100644 --- a/share/completions/and.fish +++ b/share/completions/and.fish @@ -1,2 +1,3 @@ complete -c and -s h -l help --description 'Display help and exit' +complete -c and -xa '__fish_complete_subcommand' diff --git a/share/completions/builtin.fish b/share/completions/builtin.fish index 7640cf367..c630e6b7f 100644 --- a/share/completions/builtin.fish +++ b/share/completions/builtin.fish @@ -1,3 +1,5 @@ complete -c builtin -s h -l help --description 'Display help and exit' complete -c builtin -s n -l names --description 'Print names of all existing builtins' +complete -c builtin -xa '(builtin -n)' +complete -c builtin -n '__fish_use_subcommand' -xa '__fish_complete_subcommand' diff --git a/share/completions/command.fish b/share/completions/command.fish index 1de6e495c..53d27f7f2 100644 --- a/share/completions/command.fish +++ b/share/completions/command.fish @@ -1,2 +1,3 @@ complete -c command -s h -l help --description 'Display help and exit' +complete -c command --description "Command to run" -xa "(__fish_complete_subcommand)" diff --git a/share/completions/cut.fish b/share/completions/cut.fish index 006c17e7c..3c09fad7a 100644 --- a/share/completions/cut.fish +++ b/share/completions/cut.fish @@ -1,3 +1,4 @@ +complete -c cut -x complete -c cut -s b -l bytes -x --description "Output byte range" complete -c cut -s c -l characters -x --description "Output character range" complete -c cut -s d -l delimiter -x --description "Select field delimiter" diff --git a/share/completions/diff.fish b/share/completions/diff.fish index 88813b7b1..c2d35c720 100644 --- a/share/completions/diff.fish +++ b/share/completions/diff.fish @@ -1,26 +1,2 @@ # Completions for diff -complete -c diff -s i -l ignore-case --description "Ignore case differences" -complete -c diff -l ignore-file-name-case --description "Ignore case when comparing file names" -complete -c diff -l no-ignore-file-name-case --description "Consider case when comparing file names" -complete -c diff -s E -l ignore-tab-expansion --description "Ignore changes due to tab expansion" -complete -c diff -s b -l ignore-space-change --description "Ignore changes in the amount of white space" -complete -c diff -s w -l ignore-all-space --description "Ignore all white space" -complete -c diff -s B -l ignore-blank-lines --description "Ignore changes whose lines are all blank" -complete -c diff -s I -l ignore-matching-lines -x --description "Ignore changes whose lines match the REGEX" -complete -c diff -s a -l text --description "Treat all files as text" -complete -c diff -s r -l recursive --description "Recursively compare subdirectories" -complete -c diff -s N -l new-file --description "Treat absent files as empty" -complete -c diff -s C -l context -x --description "Output NUM lines of copied context" -complete -c diff -s c --description "Output 3 lines of copied context" -complete -c diff -s U -l unified -x --description "Output NUM lines of unified context" -complete -c diff -s u --description "Output 3 lines of unified context" -complete -c diff -s q -l brief --description "Output only whether the files differ" -complete -c diff -l normal --description "Output a normal diff" -complete -c diff -s y -l side-by-side --description "Output in two columns" -complete -c diff -s W -l width -x --description "Output at most NUM print columns" -complete -c diff -s d -l minimal --description "Try to find a smaller set of changes" -complete -c diff -l from-file -r --description "Compare FILE1 to all operands" -complete -c diff -l to-file -r --description "Compare FILE2 to all operands" -complete -c diff -s l -l paginate --description "Pass the output through 'pr'" -complete -c diff -s v -l version --description "Display version and exit" -complete -c diff -l help --description "Display help and exit" +__fish_complete_diff diff diff --git a/share/completions/echo.fish b/share/completions/echo.fish index c61df7a7d..b096271a0 100644 --- a/share/completions/echo.fish +++ b/share/completions/echo.fish @@ -1,3 +1,3 @@ complete -c echo -s n --description "Do not output a newline" -complete -c echo -s n --description "Do not separate arguments with spaces" +complete -c echo -s s --description "Do not separate arguments with spaces" complete -c echo -u diff --git a/share/completions/find.fish b/share/completions/find.fish index 87bdedace..63f9d8749 100644 --- a/share/completions/find.fish +++ b/share/completions/find.fish @@ -65,7 +65,7 @@ complete -c find -o path -o wholename --description "File path matches pattern" complete -c find -o perm --description "Files has specified permissions set" -r -complete -c find -o iregex --description "File name matches regex" -r +complete -c find -o regex --description "File name matches regex" -r complete -c find -o samefile --description "File refers to the same inode as specified file" -r complete -c find -o size --description "File uses specified units of space" -r diff --git a/share/completions/flac.fish b/share/completions/flac.fish index 40cd2a471..2754a1f2e 100644 --- a/share/completions/flac.fish +++ b/share/completions/flac.fish @@ -28,6 +28,7 @@ complete -c flac -l sector-align -d "Align multiple files on sector bou complete -c flac -l replay-gain -d "Calculate ReplayGain & store in Vorbis comments" complete -c flac -l cuesheet= -d "Import cuesheet and store in CUESHEET block" complete -c flac -x -s T -l tag= -d "Add a Vorbis comment FIELD=VALUE; may appear multiple times" +complete -c flac -x -s T -l tag-from-file= -d "Read tags from file" complete -c flac -x -s S -l seekpoint= -d "Add seek point(s) {#|X|#x|#s}" complete -c flac -x -s P -l padding= -d "Write a PADDING block of length #" complete -c flac -s 0 -l compression-level-0 -d "Synonymous with -l 0 -b 1152 -r 22" diff --git a/share/completions/function.fish b/share/completions/function.fish index e4fe0daf9..bfa811e85 100644 --- a/share/completions/function.fish +++ b/share/completions/function.fish @@ -5,7 +5,6 @@ complete -c function -s j -l on-job-exit --description "Make the function a job complete -c function -s p -l on-process-exit --description "Make the function a process exit event handler" -x complete -c function -s s -l on-signal --description "Make the function a signal event handler" -x complete -c function -s v -l on-variable --description "Make the function a variable update event handler" -x -complete -c function -s e -l on-event --description "Make the function a generic event handler" -x -complete -c function -s b -l key-binding --description "Allow dash (-) in function name" +complete -c function -s e -l on-event --description "Make the function a generic event handler" -xa 'fish_prompt fish_command_not_found' complete -c function -s a -l argument-names --description "Specify named arguments" complete -c function -s S -l no-scope-shadowing --description "Do not shadow variable scope of calling function" diff --git a/share/completions/gv.fish b/share/completions/gv.fish index 6b20e3806..4f662aba9 100644 --- a/share/completions/gv.fish +++ b/share/completions/gv.fish @@ -1,4 +1,50 @@ -complete -c gv -x -a "(__fish_complete_suffix .ps)" -complete -c gv -x -a "(__fish_complete_suffix .ps.gz)" -complete -c gv -x -a "(__fish_complete_suffix .eps)" -complete -c gv -x -a "(__fish_complete_suffix .pdf)" +complete -c gv -xa "(__fish_complete_suffix .ps)" +complete -c gv -xa "(__fish_complete_suffix .ps.gz)" +complete -c gv -xa "(__fish_complete_suffix .eps)" +complete -c gv -xa "(__fish_complete_suffix .pdf)" +complete -c gv -l monochrome -d 'Display document using only black and white' +complete -c gv -l grayscale -d 'Display document without colors' +complete -c gv -l color -d 'Display document as usual' +complete -c gv -l safer -d 'Start ghostscript in safe mode' +complete -c gv -l nosafer -d 'Do not start ghostscript in safe mode' +complete -c gv -l safedir -d 'Start ghostscript from a safe diretory' +complete -c gv -l nosafedir -d 'Do not start ghostscript from a safe diretory' +complete -c gv -l quiet -d 'Start ghostscript with the -dQUIET option' +complete -c gv -l noquiet -d 'Do not start ghostscript with the -dQUIET option' +complete -c gv -l infoSilent -d 'Do not show any messages in the info popup window' +complete -c gv -l infoErrors -d 'Do not show warning messages in the info popup window' +complete -c gv -l infoAll -d 'Do show all messages in the info popup window' +complete -c gv -l arguments -d 'Start ghostscript with additional options as specified by the string ARGS' -x +complete -c gv -l page -d 'Display the page with label LABEL first' -x +complete -c gv -l center -d 'The page should be centered automatically' +complete -c gv -l nocenter -d 'The page should not be centered automatically' +complete -c gv -l media -d 'Selects the paper size to be used' +complete -c gv -l orientation -d 'Sets the orientation of the page' -xa 'automatic bbox letter legal statement tabloid ledger folio quatro 10x14 executive a3 a4 a5 b4 b5' +complete -c gv -l scale -d 'Selects the scale N, or arbitrary scale f.f' -x +complete -c gv -l scalebase -d 'Selects the scale base N' -x +complete -c gv -l swap -d 'Interchange the meaning of the orientations landscape and seascape' +complete -c gv -l noswap -d 'Do not interchange the meaning of the orientation landscape and seascape' +complete -c gv -l antialias -d 'Use antialiasing' +complete -c gv -l noantialias -d 'Do not use antialiasing' +complete -c gv -l dsc -d 'Dsc comments are respected' +complete -c gv -l nodsc -d 'Dsc comments are not respected' +complete -c gv -l eof -d 'Ignore the postscript EOF comment while scanning documents' +complete -c gv -l noeof -d 'Do not ignore the postscript EOF comment while scanning documents' +complete -c gv -l pixmap -d 'Use backing pixmap' +complete -c gv -l nopixmap -d 'Do not use backing pixmap' +complete -c gv -l watch -d 'Watch the document file for changes' +complete -c gv -l nowatch -d 'Do not watch the document file for changes' +complete -c gv -l help -d 'Print a help message and exit' +complete -c gv -l usage -d 'Print a usage message and exit' +complete -c gv -l resize -d 'Fit the size of the window to the size of the page' +complete -c gv -l noresize -d 'Do not fit the size of the window to the size of the page' +complete -c gv -o geometry -d 'Set geometry' +complete -c gv -l ad -d 'Read and use additional resources from FILE (higher priority)' -r +complete -c gv -l style -d 'Read and use additional resources from FILE (lower priority)' -r +complete -c gv -l password -d 'Sets the password for opening encrypted PDF files' -x +complete -c gv -l spartan -d 'Shortcut for --style=gv_spartan.dat' +complete -c gv -l widgetless -d 'Shortcut for --style=gv_widgetless.dat' +complete -c gv -l fullscreen -d 'Start in fullscreen mode (needs support from WM)' +complete -c gv -l presentation -d 'Presentation mode ' +complete -c gv -l version -d 'Show gv version and exit' + diff --git a/share/completions/latexmk.fish b/share/completions/latexmk.fish index e5a244ac5..de8fcd46a 100644 --- a/share/completions/latexmk.fish +++ b/share/completions/latexmk.fish @@ -4,4 +4,90 @@ complete -c latexmk -o ps -d "Make ps dvi->ps" complete -c latexmk -o pdf -d "Make pdf" complete -c latexmk -o pdfps -d "Make pdf dvi->ps->pdf" complete -c latexmk -o pdfdvi -d "Make pdf dvi->pdf" +complete -c latexmk -o commands -d "Print available commands" +# -bibtex - use bibtex when needed (default) +# -bibtex- - never use bibtex +# -bibtex-cond - use bibtex when needed, but only if the bib files exist +# -bm - Print message across the page when converting to postscript +# -bi - Set contrast or intensity of banner +# -bs - Set scale for banner +# -commands - list commands used by latexmk for processing files +# -c - clean up (remove) all nonessential files, except dvi, ps and pdf files. +# -C - clean up (remove) all nonessential files +# -CA - clean up (remove) all nonessential files. Equivalent to -C option. +# -CF - Remove file of database of file information before doing other actions +# -cd - Change to directory of source file when processing it +# -cd- - Do NOT change to directory of source file when processing it +# -dependents or -deps - Show list of dependent files after processing +# -dependents- or -deps- - Do not show list of dependent files +# -deps-out=file - Set name of output file for dependency list, and turn on showing of dependency list +# -dF - Filter to apply to dvi file +# -dvi - generate dvi +# -dvi- - turn off required dvi +# -e - Execute specified Perl code (as part of latexmk start-up code) +# -f - force continued processing past errors +# -f- - turn off forced continuing processing past errors +# -gg - Super go mode: clean out generated files before processing +# -g - process regardless of file timestamps +# -g- - Turn off -g +# -h - print help +# -help - print help +# -jobname=STRING - set basename of output file(s) to STRING. +# -l - force landscape mode +# -l- - turn off -l +# -latex= - set program used for latex. (replace '' by the program name) +# -new-viewer - in -pvc mode, always start a new viewer +# -new-viewer- - in -pvc mode, start a new viewer only if needed +# -nobibtex - never use bibtex +# -nodependents - Do not show list of dependent files after processing +# -norc - omit automatic reading of system, user and project rc files +# -output-directory=dir or -outdir=dir - set name of directory for output files +# -pdf - generate pdf by pdflatex +# -pdfdvi - generate pdf by dvipdf +# -pdflatex= - set program used for pdflatex. +# (replace '' by the program name) +# -pdfps - generate pdf by ps2pdf +# -pdf- - turn off pdf +# -ps - generate postscript +# -ps- - turn off postscript +# -pF - Filter to apply to postscript file +# -p - print document after generating postscript. +# (Can also .dvi or .pdf files -- see documentation) +# -print=dvi - when file is to be printed, print the dvi file +# -print=ps - when file is to be printed, print the ps file (default) +# -print=pdf - when file is to be printed, print the pdf file +# -pv - preview document. (Side effect turn off continuous preview) +# -pv- - turn off preview mode +# -pvc - preview document and continuously update. (This also turns +# on force mode, so errors do not cause latexmk to stop.) +# (Side effect: turn off ordinary preview mode.) +# -pvc- - turn off -pvc +# -quiet - silence progress messages from called programs +# -r - Read custom RC file +# (N.B. This file could override options specified earlier +# on the command line.) +# -recorder - Use -recorder option for (pdf)latex +# (to give list of input and output files) +# -recorder- - Do not use -recorder option for (pdf)latex +# -rules - Show list of rules after processing +# -rules- - Do not show list of rules after processing +# -silent - silence progress messages from called programs +# -time - show CPU time used +# -time- - don't show CPU time used +# -use-make - use the make program to try to make missing files +# -use-make- - don't use the make program to try to make missing files +# -v - display program version +# -verbose - display usual progress messages from called programs +# -version - display program version +# -view=default - viewer is default (dvi, ps, pdf) +# -view=dvi - viewer is for dvi +# -view=none - no viewer is used +# -view=ps - viewer is for ps +# -view=pdf - viewer is for pdf +# filename = the root filename of LaTeX document +# +#-p, -pv and -pvc are mutually exclusive +#-h, -c and -C override all other options. +#-pv and -pvc require one and only one filename specified +#All options can be introduced by '-' or '--'. (E.g., --help or -help.) diff --git a/share/completions/mutt.fish b/share/completions/mutt.fish index ab22ba6ea..bc0626d45 100644 --- a/share/completions/mutt.fish +++ b/share/completions/mutt.fish @@ -1,4 +1,8 @@ -#completion for mutt +if which abook >/dev/null + complete -c mutt -f -a '(__fish_print_abook_emails)' + complete -c mutt -s c -x -d 'Specify a carbon-copy (CC) recipient' -a '(__fish_print_abook_emails)' + complete -c mutt -s b -x -d 'Specify a blind-carbon-copy (BCC) recipient' -a '(__fish_print_abook_emails)' +end complete -c mutt -s D --description 'Print the value of all configuration options to stdout' complete -c mutt -s h --description 'Display help' diff --git a/share/completions/not.fish b/share/completions/not.fish index cb3e3efbe..d117527d5 100644 --- a/share/completions/not.fish +++ b/share/completions/not.fish @@ -1,2 +1,4 @@ complete -c not -s h -l help --description 'Display help and exit' +complete -c not -xa '__fish_complete_subcommand' + diff --git a/share/completions/or.fish b/share/completions/or.fish index f01db8db0..fb3f0b611 100644 --- a/share/completions/or.fish +++ b/share/completions/or.fish @@ -1,2 +1,3 @@ complete -c or -s h -l help --description 'Display help and exit' +complete -c or -xa '__fish_complete_subcommand' diff --git a/share/completions/pacman.fish b/share/completions/pacman.fish index 54662f69f..33949b95f 100644 --- a/share/completions/pacman.fish +++ b/share/completions/pacman.fish @@ -1,59 +1,3 @@ -# Completions for pacman, using short options when possible -# Author: Giorgio Lando -# Primary operations -complete -c pacman -s A -f -n '__fish_not_contain_opt -s F -s U -s Q -s R -s S -s h' -d 'Add a package to the system' -complete -c pacman -s F -f -n '__fish_not_contain_opt -s A -s U -s Q -s R -s S -s h' -d 'Upgrade a package which is already in the system' -complete -c pacman -s U -f -n '__fish_not_contain_opt -s A -s F -s Q -s R -s S -s h' -d 'Upgrade or add a package in the system' -complete -c pacman -s Q -f -n '__fish_not_contain_opt -s A -s F -s U -s R -s S -s h' -d 'Query the package database' -complete -c pacman -s R -f -n '__fish_not_contain_opt -s A -s F -s U -s Q -s S -s h' -d 'Remove packages from the system' -complete -c pacman -s S -f -n '__fish_not_contain_opt -s A -s F -s U -s Q -s R -s h' -d 'Synchronize packages' -complete -c pacman -o V -f -d 'Display version and exit' +__fish_complete_pacman pacman -# General options -complete -c pacman -n '__fish_contains_opt -s A -s F -s Q -s R -s S -s U' -s d -d 'Skips all dependency checks' -complete -c pacman -n '__fish_contains_opt -s A -s F -s Q -s R -s S -s U' -s f -d 'Bypass file conflict checks' -complete -c pacman -n '__fish_contains_opt -s A -s F -s Q -s R -s S -s U' -s r -d 'Specify an alternative installation root' -complete -c pacman -n '__fish_contains_opt -s A -s F -s Q -s R -s S -s U' -s v -d 'Output more status messages' -complete -c pacman -n '__fish_contains_opt -s A -s F -s Q -s R -s S -s U' -l config -d 'Specify an altenate config file' -complete -c pacman -n '__fish_contains_opt -s A -s F -s Q -s R -s S -s U' -l noconfirm -d 'Bypass any question' -complete -c pacman -s h -f -d 'Display syntax and help for the operation' - -# Query options -complete -c pacman -n '__fish_contains_opt -s Q' -s c -d 'View the changelog of a package' -complete -c pacman -n '__fish_contains_opt -s Q' -s g -d 'Display all packages in the group' -complete -c pacman -n '__fish_contains_opt -s Q' -s o -d 'Search for the package that owns file' -complete -c pacman -n '__fish_contains_opt -s Q' -s e -d 'List orphan packages' -complete -c pacman -n '__fish_contains_opt -s Q' -s m -d 'List all packages which are not in the sync database' -complete -c pacman -n '__fish_contains_opt -s Q' -s u -d 'List all out of date packages in the system' -complete -c pacman -n '__fish_contains_opt -s Q' -s s -d 'Search each locally installed package for regexp' -complete -c pacman -n '__fish_contains_opt -s Q' -s i -d 'Display information on a given package' -complete -c pacman -n '__fish_contains_opt -s Q' -s l -d 'List all files owned by a given package' -complete -c pacman -n '__fish_contains_opt -s Q' -s p -d 'Apply the query to a package file and not to an installed package' - -# Remove options -complete -c pacman -n '__fish_contains_opt -s R' -s c -d 'Remove also the packages that depends on the target packages' -complete -c pacman -n '__fish_contains_opt -s R' -s k -d 'Remove the database entries only' -complete -c pacman -n '__fish_contains_opt -s R' -s n -d 'Ignore file backup designations' -complete -c pacman -n '__fish_contains_opt -s R' -s s -d 'Remove also the dependencies of the target packages' - -# Sync options -complete -c pacman -n '__fish_contains_opt -s S' -s c -d 'Remove old packages from the cache; if iterated, remove all the packages from the cache' -complete -c pacman -n '__fish_contains_opt -s S' -s e -d 'Install only the dependencies of the target packages' -complete -c pacman -n '__fish_contains_opt -s S' -s g -d 'Display all packages in the group' -complete -c pacman -n '__fish_contains_opt -s S' -s i -d 'Display informations for the target package' -complete -c pacman -n '__fish_contains_opt -s S' -s l -d 'List all packages in the repository' -complete -c pacman -n '__fish_contains_opt -s S' -s p -d 'Display URIs for target packages and dependencies' -complete -c pacman -n '__fish_contains_opt -s S' -s s -d 'Search packages and descriptions in the repos for regexp' -complete -c pacman -n '__fish_contains_opt -s S' -s u -d 'Upgrade all packages that are out of date' -complete -c pacman -n '__fish_contains_opt -s S' -s w -d 'Only download the target packages' -complete -c pacman -n '__fish_contains_opt -s S' -s y -d 'Download a fresh copy of the master package list from the servers' -complete -c pacman -n '__fish_contains_opt -s S' -l ignore -d 'Ignore upgrades of the target packages' -complete -c pacman -n '__fish_contains_opt -s S' -l noprogressbar -d 'Do not show a progressbar when downloading files' - -# Complete with local packages -complete -c pacman -n '__fish_contains_opt -s A -s F -s U' -a '(__fish_complete_suffix pkg.tar.gz)' -d 'Local package' -# Complete with installed packages -complete -c pacman -n '__fish_contains_opt -s Q -s R' -a '(pacman -Q | cut --delim " " --fields 1)' -d 'Installed package' -# Complete with packages in the repos -complete -c pacman -n '__fish_contains_opt -s S' -a '(pacman -Sl | cut --delim " " --fields 2 | sort)' -d 'Repo package' diff --git a/share/completions/ps.fish b/share/completions/ps.fish index 513fd6fcf..437f787a0 100644 --- a/share/completions/ps.fish +++ b/share/completions/ps.fish @@ -7,19 +7,20 @@ complete -c ps -s d --description "Select all processes except session leaders" complete -c ps -s e --description "Select all" complete -c ps -l deselect --description "Deselect all processes that do not fulfill conditions" -complete -c ps -s C --description "Select by command" -r -complete -c ps -s G -l Group --description "Select by group" -x -a "(__fish_complete_groups)" +complete -c ps -s C --description "Select by command" -ra '(__fish_complete_list , __fish_complete_proc)' +complete -c ps -s G -l Group --description "Select by group" -x -a "(__fish_complete_list , __fish_complete_groups)" -complete -c ps -s U -l User --description "Select by user" -x -a "(__fish_complete_users)" -complete -c ps -s u -l user --description "Select by user" -x -a "(__fish_complete_users)" -complete -c ps -s g -l group --description "Select by group/session" -x -a "(__fish_complete_groups)" -complete -c ps -s p -l pid --description "Select by PID" -x -a "(__fish_complete_pids)" -complete -c ps -l ppid --description "Select by parent PID" -x -a "(__fish_complete_pids)" -complete -c ps -s s -l sid --description "Select by session ID" -x -a "(__fish_complete_pids)" +complete -c ps -s U -l User --description "Select by user" -x -a "(__fish_complete_list , __fish_complete_users)" +complete -c ps -s u -l user --description "Select by user" -x -a "(__fish_complete_list , __fish_complete_users)" +complete -c ps -s g -l group --description "Select by group/session" -x -a "(__fish_complete_list , __fish_complete_groups)" +complete -c ps -s p -l pid --description "Select by PID" -x -a "(__fish_complete_list , __fish_complete_pids)" +complete -c ps -l ppid --description "Select by parent PID" -x -a "(__fish_complete_list , __fish_complete_pids)" +complete -c ps -s s -l sid --description "Select by session ID" -x -a "(__fish_complete_list , __fish_complete_pids)" complete -c ps -s t -l tty --description "Select by tty" -r complete -c ps -s F --description "Extra full format" complete -c ps -s O --description "User defined format" -x complete -c ps -s M --description "Add column for security data" +complete -c ps -s c -d 'Show different scheduler information for the -l option' complete -c ps -s f --description "Full format" complete -c ps -s j --description "Jobs format" complete -c ps -s l --description "Long format" @@ -29,8 +30,15 @@ complete -c ps -s Z -l context --description "Add column for security data" complete -c ps -s H -l forest --description "Show hierarchy" complete -c ps -s n --description "Set namelist file" -r complete -c ps -s w --description "Wide output" -complete -c ps -s L --description "Show threads" -complete -c ps -s T --description "Show threads" +complete -c ps -l cols -l columns -l width -d 'Set screen width' -r +complete -c ps -l cumulative -d 'Include dead child process data' +complete -c ps -l headers -d 'Repead header lines, one per page' +complete -c ps -l no-headers -d 'Print no headers' +complete -c ps -l lines -l rows -d 'Set screen height' -r +complete -c ps -l sort -d 'Spericy sorting order' -r +complete -c ps -s L --description "Show threads. With LWP/NLWP" +complete -c ps -s T --description "Show threads. With SPID" +complete -c ps -s m -d 'Show threads after processes' complete -c ps -s V -l version --description "Display version and exit" complete -c ps -l help --description "Display help and exit" complete -c ps -l info --description "Display debug info" diff --git a/share/completions/python.fish b/share/completions/python.fish index 937677a34..4c8eb4422 100644 --- a/share/completions/python.fish +++ b/share/completions/python.fish @@ -1,14 +1 @@ -complete -c python -s c -x --description "Execute argument as command" -complete -c python -s d --description "Debug on" -complete -c python -s E --description "Ignore environment variables" -complete -c python -s h --description "Display help and exit" -complete -c python -s i --description "Interactive mode after executing commands" -complete -c python -s O --description "Enable optimizations" -complete -c python -s Q -x -a "old new" --description "Division control" -complete -c python -s S --description "Disable import of site module" -complete -c python -s t --description "Warn on mixed tabs and spaces" -complete -c python -s u --description "Unbuffered input and output" -complete -c python -s v --description "Verbose mode" -complete -c python -s V --description "Display version and exit" -complete -c python -s W -x --description "Warning control" -a "ignore default all module once error" -complete -c python -s x --description "Ignore first line of input" +__fish_complete_python python diff --git a/share/completions/su.fish b/share/completions/su.fish index 990a0ae50..3fe54850c 100644 --- a/share/completions/su.fish +++ b/share/completions/su.fish @@ -2,7 +2,7 @@ complete -x -c su -a "(__fish_complete_users)" complete -c su -s l -l login --description "Make login shell" -complete -r -c su -s c -l command --description "Pass command to shell" -xa "(__fish_complete_command)" +complete -r -c su -s c -l command --description "Pass command to shell" -xa "(complete -C(commandline -ct))" complete -c su -s f -l fast --description "Pass -f to the shell" complete -c su -s m -l preserve_environment --description "Preserve environment" complete -c su -s p --description "Preserve environment" diff --git a/share/completions/svn.fish b/share/completions/svn.fish index 7abc32937..fdd3b8761 100644 --- a/share/completions/svn.fish +++ b/share/completions/svn.fish @@ -1,889 +1 @@ - -# -# Completions for the svn command -# This file was autogenerated by the file make_vcs_completions.fish -# which is shipped with the fish source code. -# - -# -# Completions from commandline -# - - -# -# subcommands -# - -complete -c svn -n '__fish_use_subcommand' -x -a add --description 'Put files and directories under version control, scheduling them for addition to repository. They will be added in next commit.' -complete -c svn -n '__fish_use_subcommand' -x -a blame --description 'Output the content of specified files or URLs with revision and author information in-line.' -complete -c svn -n '__fish_use_subcommand' -x -a praise --description 'Output the content of specified files or URLs with revision and author information in-line.' -complete -c svn -n '__fish_use_subcommand' -x -a annotate --description 'Output the content of specified files or URLs with revision and author information in-line.' -complete -c svn -n '__fish_use_subcommand' -x -a ann --description 'Output the content of specified files or URLs with revision and author information in-line.' -complete -c svn -n '__fish_use_subcommand' -x -a cat --description 'Output the content of specified files or URLs.' -complete -c svn -n '__fish_use_subcommand' -x -a checkout --description 'Check out a working copy from a repository.' -complete -c svn -n '__fish_use_subcommand' -x -a co --description 'Check out a working copy from a repository.' -complete -c svn -n '__fish_use_subcommand' -x -a cleanup --description 'Recursively clean up the working copy, removing locks, resuming unfinished operations, etc.' -complete -c svn -n '__fish_use_subcommand' -x -a commit --description 'Send changes from your working copy to the repository.' -complete -c svn -n '__fish_use_subcommand' -x -a ci --description 'Send changes from your working copy to the repository.' -complete -c svn -n '__fish_use_subcommand' -x -a copy --description 'Duplicate something in working copy or repository, remembering history.' -complete -c svn -n '__fish_use_subcommand' -x -a cp --description 'Duplicate something in working copy or repository, remembering history.' -complete -c svn -n '__fish_use_subcommand' -x -a delete --description 'Remove files and directories from version control.' -complete -c svn -n '__fish_use_subcommand' -x -a del --description 'Remove files and directories from version control.' -complete -c svn -n '__fish_use_subcommand' -x -a remove --description 'Remove files and directories from version control.' -complete -c svn -n '__fish_use_subcommand' -x -a rm --description 'Remove files and directories from version control.' -complete -c svn -n '__fish_use_subcommand' -x -a diff --description 'Display the differences between two revisions or paths.' -complete -c svn -n '__fish_use_subcommand' -x -a di --description 'Display the differences between two revisions or paths.' -complete -c svn -n '__fish_use_subcommand' -x -a export --description 'Create an unversioned copy of a tree.' -complete -c svn -n '__fish_use_subcommand' -x -a help --description 'Describe the usage of this program or its subcommands.' -complete -c svn -n '__fish_use_subcommand' -x -a ? --description 'Describe the usage of this program or its subcommands.' -complete -c svn -n '__fish_use_subcommand' -x -a h --description 'Describe the usage of this program or its subcommands.' -complete -c svn -n '__fish_use_subcommand' -x -a import --description 'Commit an unversioned file or tree into the repository.' -complete -c svn -n '__fish_use_subcommand' -x -a info --description 'Display information about a local or remote item.' -complete -c svn -n '__fish_use_subcommand' -x -a list --description 'List directory entries in the repository.' -complete -c svn -n '__fish_use_subcommand' -x -a ls --description 'List directory entries in the repository.' -complete -c svn -n '__fish_use_subcommand' -x -a lock --description 'Lock working copy paths or URLs in the repository, so that no other user can commit changes to them.' -complete -c svn -n '__fish_use_subcommand' -x -a log --description 'Show the log messages for a set of revision(s) and/or file(s).' -complete -c svn -n '__fish_use_subcommand' -x -a merge --description 'Apply the differences between two sources to a working copy path.' -complete -c svn -n '__fish_use_subcommand' -x -a mkdir --description 'Create a new directory under version control.' -complete -c svn -n '__fish_use_subcommand' -x -a move --description 'Move and/or rename something in working copy or repository.' -complete -c svn -n '__fish_use_subcommand' -x -a mv --description 'Move and/or rename something in working copy or repository.' -complete -c svn -n '__fish_use_subcommand' -x -a rename --description 'Move and/or rename something in working copy or repository.' -complete -c svn -n '__fish_use_subcommand' -x -a ren --description 'Move and/or rename something in working copy or repository.' -complete -c svn -n '__fish_use_subcommand' -x -a propdel --description 'Remove a property from files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a pdel --description 'Remove a property from files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a pd --description 'Remove a property from files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a propedit --description 'Edit a property with an external editor.' -complete -c svn -n '__fish_use_subcommand' -x -a pedit --description 'Edit a property with an external editor.' -complete -c svn -n '__fish_use_subcommand' -x -a pe --description 'Edit a property with an external editor.' -complete -c svn -n '__fish_use_subcommand' -x -a propget --description 'Print the value of a property on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a pget --description 'Print the value of a property on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a pg --description 'Print the value of a property on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a proplist --description 'List all properties on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a plist --description 'List all properties on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a pl --description 'List all properties on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a propset --description 'Set the value of a property on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a pset --description 'Set the value of a property on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a ps --description 'Set the value of a property on files, dirs, or revisions.' -complete -c svn -n '__fish_use_subcommand' -x -a resolved --description 'Remove \'conflicted\' state on working copy files or directories.' -complete -c svn -n '__fish_use_subcommand' -x -a revert --description 'Restore pristine working copy file (undo most local edits).' -complete -c svn -n '__fish_use_subcommand' -x -a status --description 'Print the status of working copy files and directories.' -complete -c svn -n '__fish_use_subcommand' -x -a stat --description 'Print the status of working copy files and directories.' -complete -c svn -n '__fish_use_subcommand' -x -a st --description 'Print the status of working copy files and directories.' -complete -c svn -n '__fish_use_subcommand' -x -a switch --description 'Update the working copy to a different URL.' -complete -c svn -n '__fish_use_subcommand' -x -a sw --description 'Update the working copy to a different URL.' -complete -c svn -n '__fish_use_subcommand' -x -a unlock --description 'Unlock working copy paths or URLs.' -complete -c svn -n '__fish_use_subcommand' -x -a update --description 'Bring changes from the repository into the working copy.' -complete -c svn -n '__fish_use_subcommand' -x -a up --description 'Bring changes from the repository into the working copy.' - - -# -# Completions for the 'add' subcommand -# - -complete -c svn -n 'contains \'add\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'add\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'add\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'add\' (commandline -poc)' -l no-ignore --description 'Disregard default and svn:ignore property ignores' -complete -c svn -n 'contains \'add\' (commandline -poc)' -l auto-props --description 'Enable automatic properties' -complete -c svn -n 'contains \'add\' (commandline -poc)' -l no-auto-props --description 'Disable automatic properties' - - -# -# Completions for the 'blame' subcommand -# - -complete -c svn -n 'contains \'blame\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'blame\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'blame\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'blame\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'blame\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'blame\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'blame\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'blame\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'praise' subcommand -# - -complete -c svn -n 'contains \'praise\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'praise\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'praise\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'praise\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'praise\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'praise\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'praise\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'praise\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'annotate' subcommand -# - -complete -c svn -n 'contains \'annotate\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'annotate\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'annotate\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'annotate\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'annotate\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'annotate\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'annotate\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'annotate\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'ann' subcommand -# - -complete -c svn -n 'contains \'ann\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'ann\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'ann\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'ann\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'ann\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'ann\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'ann\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'ann\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'cat' subcommand -# - -complete -c svn -n 'contains \'cat\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'cat\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'cat\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'cat\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'cat\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'checkout' subcommand -# - -complete -c svn -n 'contains \'checkout\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'checkout\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'checkout\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'checkout\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'checkout\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'checkout\' (commandline -poc)' -l ignore-externals --description 'Ignore externals definitions' - - -# -# Completions for the 'co' subcommand -# - -complete -c svn -n 'contains \'co\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'co\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'co\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'co\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'co\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'co\' (commandline -poc)' -l ignore-externals --description 'Ignore externals definitions' - - -# -# Completions for the 'cleanup' subcommand -# - -complete -c svn -n 'contains \'cleanup\' (commandline -poc)' -l diff3-cmd -x --description 'Use ARG as merge command' -complete -c svn -n 'contains \'cleanup\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'commit' subcommand -# - -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l no-unlock --description 'Don\'t unlock the targets' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'commit\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'ci' subcommand -# - -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l no-unlock --description 'Don\'t unlock the targets' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'ci\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'copy' subcommand -# - -complete -c svn -n 'contains \'copy\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'copy\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'copy\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'copy\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'copy\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'copy\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'copy\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'copy\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'cp' subcommand -# - -complete -c svn -n 'contains \'cp\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'cp\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'cp\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'cp\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'cp\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'cp\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'cp\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'cp\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'delete' subcommand -# - -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'delete\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'del' subcommand -# - -complete -c svn -n 'contains \'del\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'del\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'remove' subcommand -# - -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'remove\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'rm' subcommand -# - -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'rm\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'diff' subcommand -# - -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l old -x --description 'Use ARG as the older target' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l new -x --description 'Use ARG as the newer target' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l diff-cmd -x --description 'Use ARG as diff command' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l no-diff-deleted --description 'Do not print differences for deleted files' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l notice-ancestry --description 'Notice ancestry when calculating differences' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l summarize --description 'Show a summary of the results' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'diff\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'di' subcommand -# - -complete -c svn -n 'contains \'di\' (commandline -poc)' -l old -x --description 'Use ARG as the older target' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l new -x --description 'Use ARG as the newer target' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l diff-cmd -x --description 'Use ARG as diff command' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l no-diff-deleted --description 'Do not print differences for deleted files' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l notice-ancestry --description 'Notice ancestry when calculating differences' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l summarize --description 'Show a summary of the results' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'di\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'export' subcommand -# - -complete -c svn -n 'contains \'export\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'export\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'export\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'export\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'export\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'export\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'export\' (commandline -poc)' -l native-eol -x --description 'Use a different EOL marker than the standard' -complete -c svn -n 'contains \'export\' (commandline -poc)' -l ignore-externals --description 'Ignore externals definitions' - - -# -# Completions for the 'help' subcommand -# - -complete -c svn -n 'contains \'help\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the '?' subcommand -# - -complete -c svn -n 'contains \'?\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'h' subcommand -# - -complete -c svn -n 'contains \'h\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'import' subcommand -# - -complete -c svn -n 'contains \'import\' (commandline -poc)' -l auto-props --description 'Enable automatic properties' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l no-auto-props --description 'Disable automatic properties' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l no-ignore --description 'Disregard default and svn:ignore property ignores' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'import\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'info' subcommand -# - -complete -c svn -n 'contains \'info\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'info\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'info\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'info\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'info\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'info\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'info\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'info\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'list' subcommand -# - -complete -c svn -n 'contains \'list\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'list\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'list\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'list\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'list\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'list\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'list\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'ls' subcommand -# - -complete -c svn -n 'contains \'ls\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'ls\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'ls\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'ls\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'ls\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'ls\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'ls\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'lock' subcommand -# - -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'lock\' (commandline -poc)' -l force --description 'Force operation to run' - - -# -# Completions for the 'log' subcommand -# - -complete -c svn -n 'contains \'log\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l stop-on-copy --description 'Do not cross copies while traversing history' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'log\' (commandline -poc)' -l limit -x --description 'Maximum number of log entries' - - -# -# Completions for the 'merge' subcommand -# - -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l dry-run --description 'Try operation but make no changes' -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l diff3-cmd -x --description 'Use ARG as merge command' -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l ignore-ancestry --description 'Ignore ancestry when calculating merges' -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'merge\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'mkdir' subcommand -# - -complete -c svn -n 'contains \'mkdir\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'mkdir\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'mkdir\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'mkdir\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'mkdir\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'mkdir\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'mkdir\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'mkdir\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'move' subcommand -# - -complete -c svn -n 'contains \'move\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'move\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'move\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'move\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'move\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'move\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'move\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'move\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'move\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'mv' subcommand -# - -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'mv\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'rename' subcommand -# - -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'rename\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'ren' subcommand -# - -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l force-log --description 'Force validity of log message source' -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'ren\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'propdel' subcommand -# - -complete -c svn -n 'contains \'propdel\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'propdel\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'propdel\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'propdel\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'propdel\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'propdel\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'pdel' subcommand -# - -complete -c svn -n 'contains \'pdel\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'pdel\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'pdel\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'pdel\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'pdel\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'pdel\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'pd' subcommand -# - -complete -c svn -n 'contains \'pd\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'pd\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'pd\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'pd\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'pd\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'pd\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'propedit' subcommand -# - -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'propedit\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'pedit' subcommand -# - -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'pedit\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'pe' subcommand -# - -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l editor-cmd -x --description 'Use ARG as external editor' -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'pe\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'propget' subcommand -# - -complete -c svn -n 'contains \'propget\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'propget\' (commandline -poc)' -l strict --description 'Use strict semantics' -complete -c svn -n 'contains \'propget\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'propget\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'propget\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'propget\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'propget\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'pget' subcommand -# - -complete -c svn -n 'contains \'pget\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'pget\' (commandline -poc)' -l strict --description 'Use strict semantics' -complete -c svn -n 'contains \'pget\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'pget\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'pget\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'pget\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'pget\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'pg' subcommand -# - -complete -c svn -n 'contains \'pg\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'pg\' (commandline -poc)' -l strict --description 'Use strict semantics' -complete -c svn -n 'contains \'pg\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'pg\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'pg\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'pg\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'pg\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'proplist' subcommand -# - -complete -c svn -n 'contains \'proplist\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'proplist\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'proplist\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'proplist\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'proplist\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'proplist\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'plist' subcommand -# - -complete -c svn -n 'contains \'plist\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'plist\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'plist\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'plist\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'plist\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'plist\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'pl' subcommand -# - -complete -c svn -n 'contains \'pl\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'pl\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'pl\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'pl\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'pl\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'pl\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'propset' subcommand -# - -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'propset\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'pset' subcommand -# - -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'pset\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'ps' subcommand -# - -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l encoding -x --description 'Treat value as being in charset encoding ARG' -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l revprop --description 'Operate on a revision property (use with -r)' -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l force --description 'Force operation to run' -complete -c svn -n 'contains \'ps\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'resolved' subcommand -# - -complete -c svn -n 'contains \'resolved\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'resolved\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'revert' subcommand -# - -complete -c svn -n 'contains \'revert\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'revert\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'status' subcommand -# - -complete -c svn -n 'contains \'status\' (commandline -poc)' -l no-ignore --description 'Disregard default and svn:ignore property ignores' -complete -c svn -n 'contains \'status\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'status\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'status\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'status\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'status\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'status\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'status\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'status\' (commandline -poc)' -l ignore-externals --description 'Ignore externals definitions' - - -# -# Completions for the 'stat' subcommand -# - -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l no-ignore --description 'Disregard default and svn:ignore property ignores' -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'stat\' (commandline -poc)' -l ignore-externals --description 'Ignore externals definitions' - - -# -# Completions for the 'st' subcommand -# - -complete -c svn -n 'contains \'st\' (commandline -poc)' -l no-ignore --description 'Disregard default and svn:ignore property ignores' -complete -c svn -n 'contains \'st\' (commandline -poc)' -l incremental --description 'Give output suitable for concatenation' -complete -c svn -n 'contains \'st\' (commandline -poc)' -l xml --description 'Output in XML' -complete -c svn -n 'contains \'st\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'st\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'st\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'st\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'st\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'st\' (commandline -poc)' -l ignore-externals --description 'Ignore externals definitions' - - -# -# Completions for the 'switch' subcommand -# - -complete -c svn -n 'contains \'switch\' (commandline -poc)' -l diff3-cmd -x --description 'Use ARG as merge command' -complete -c svn -n 'contains \'switch\' (commandline -poc)' -l relocate --description 'Relocate via URL-rewriting' -complete -c svn -n 'contains \'switch\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'switch\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'switch\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'switch\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'switch\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'sw' subcommand -# - -complete -c svn -n 'contains \'sw\' (commandline -poc)' -l diff3-cmd -x --description 'Use ARG as merge command' -complete -c svn -n 'contains \'sw\' (commandline -poc)' -l relocate --description 'Relocate via URL-rewriting' -complete -c svn -n 'contains \'sw\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'sw\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'sw\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'sw\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'sw\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' - - -# -# Completions for the 'unlock' subcommand -# - -complete -c svn -n 'contains \'unlock\' (commandline -poc)' -l targets -x --description 'Pass contents of file ARG as additional args' -complete -c svn -n 'contains \'unlock\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'unlock\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'unlock\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'unlock\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'unlock\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'unlock\' (commandline -poc)' -l force --description 'Force operation to run' - - -# -# Completions for the 'update' subcommand -# - -complete -c svn -n 'contains \'update\' (commandline -poc)' -l diff3-cmd -x --description 'Use ARG as merge command' -complete -c svn -n 'contains \'update\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'update\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'update\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'update\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'update\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'update\' (commandline -poc)' -l ignore-externals --description 'Ignore externals definitions' - - -# -# Completions for the 'up' subcommand -# - -complete -c svn -n 'contains \'up\' (commandline -poc)' -l diff3-cmd -x --description 'Use ARG as merge command' -complete -c svn -n 'contains \'up\' (commandline -poc)' -l username -x --description 'Specify a username ARG' -complete -c svn -n 'contains \'up\' (commandline -poc)' -l password -x --description 'Specify a password ARG' -complete -c svn -n 'contains \'up\' (commandline -poc)' -l no-auth-cache --description 'Do not cache authentication tokens' -complete -c svn -n 'contains \'up\' (commandline -poc)' -l non-interactive --description 'Do no interactive prompting' -complete -c svn -n 'contains \'up\' (commandline -poc)' -l config-dir -x --description 'Read user configuration files from directory ARG' -complete -c svn -n 'contains \'up\' (commandline -poc)' -l ignore-externals --description 'Ignore externals definitions' - - - +__fish_complete_svn svn diff --git a/share/completions/umount.fish b/share/completions/umount.fish index 8d799549b..85929fb82 100644 --- a/share/completions/umount.fish +++ b/share/completions/umount.fish @@ -5,7 +5,7 @@ # # Find all mountpoints # -complete -c umount --description "Mount point" -x -a '(cat /etc/mtab | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"|sgrep "^/")' +complete -c umount --description "Mount point" -x -a '(__fish_print_mounted)' complete -c umount -s V --description "Display version and exit" complete -c umount -s h --description "Display help and exit" diff --git a/share/completions/valgrind.fish b/share/completions/valgrind.fish index f4a11026c..6ef855bc1 100644 --- a/share/completions/valgrind.fish +++ b/share/completions/valgrind.fish @@ -1,12 +1,12 @@ - +set -l skin if valgrind --version | sgrep -- '-2\.[012]\.' >/dev/null ^/dev/null # In older versions of Valgrind, the skin selection option was # '--skin' - set -g skin skin + set skin skin else # But someone decided that it would be fun to change this to # '--tool' for no good reason - set -g skin tool + set skin tool end complete -xc valgrind -l $skin --description "Skin" -a " @@ -17,9 +17,16 @@ complete -xc valgrind -l $skin --description "Skin" -a " massif\tHeap\ profiler " -eval "function __fish_valgrind_skin; contains -- --$skin=\$argv (commandline -cpo);end" - -set -e $skin +eval " +function __fish_valgrind_skin --argument tool + set -l cmd (commandline -cpo) + if contains -- --$skin=\$tool \$cmd + return 0 + end + test \$tool = memcheck + and echo \$cmd | grep -qve $skin +end +" complete -c valgrind -l help --description "Display help and exit" complete -c valgrind -l help-debug --description "Display help and debug options" diff --git a/share/completions/wvdial.fish b/share/completions/wvdial.fish index eb7320ca3..1e33faac3 100644 --- a/share/completions/wvdial.fish +++ b/share/completions/wvdial.fish @@ -1 +1,4 @@ -complete -x -c wvdial -a "(cat ~/.wvdialrc | grep '\[Dialer' | sed 's/\[Dialer \(.\+\)\]/\1/')" --description "wvdial connections" +complete -c wvdial -xa "(__fish_complete_wvdial_peers)" --description "wvdial connections" +complete -c wvdial -s c -l chat -d 'Run wvdial as chat replacement from within pppd' +complete -c wvdial -s C -l config -r -d 'Run wvdial with alternative config file' +complete -c wvdial -s n -l no-syslog -d 'Don\'t output debug information' diff --git a/share/functions/__fish_bind_test1.fish b/share/functions/__fish_bind_test1.fish index b4380c18f..7659f5f45 100644 --- a/share/functions/__fish_bind_test1.fish +++ b/share/functions/__fish_bind_test1.fish @@ -1,27 +1,25 @@ function __fish_bind_test1 + set -l args + set -l use_keys no + for i in (commandline -poc) + switch $i + case -k --k --ke --key + set use_keys yes -set -l args -set -l use_keys no -for i in (commandline -poc) - switch $i - case -k --k --ke --key - set use_keys yes + case "-*" - case "-*" - - case "*" - set args $args $i - end -end - -switch $use_keys - case yes - switch (count $args) - case 1 - return 0 - end -end -return 1 + case "*" + set args $args $i + end + end + switch $use_keys + case yes + switch (count $args) + case 1 + return 0 + end + end + return 1 end diff --git a/share/functions/__fish_commandline_test.fish b/share/functions/__fish_commandline_test.fish index a32512cfb..a7e5e00b7 100644 --- a/share/functions/__fish_commandline_test.fish +++ b/share/functions/__fish_commandline_test.fish @@ -1,23 +1,23 @@ function __fish_commandline_test -set -l is_function no -for i in (commandline -poc) - switch $i - case -f --f --fu --fun --func --funct --functi --functio --function - set is_function yes + set -l is_function no + for i in (commandline -poc) + switch $i + case -f --f --fu --fun --func --funct --functi --functio --function + set is_function yes - case -- - break + case -- + break - end -end + end + end -switch $is_function - case yes - return 0 -end -return 1 + switch $is_function + case yes + return 0 + end + return 1 end diff --git a/share/functions/__fish_complete_proc.fish b/share/functions/__fish_complete_proc.fish index 84e3bd9d4..d1c2bcfff 100644 --- a/share/functions/__fish_complete_proc.fish +++ b/share/functions/__fish_complete_proc.fish @@ -1,3 +1,4 @@ function __fish_complete_proc --description 'Complete by list of running processes' - ps a --no-headers --format comm | sort -u + ps -A --no-headers --format comm | sort -u + end diff --git a/share/functions/__fish_complete_subcommand.fish b/share/functions/__fish_complete_subcommand.fish index c71f3fea5..e263684a1 100644 --- a/share/functions/__fish_complete_subcommand.fish +++ b/share/functions/__fish_complete_subcommand.fish @@ -1,11 +1,12 @@ -function __fish_complete_subcommand -d "Complete subcommand" +function __fish_complete_subcommand -d "Complete subcommand" set -l skip_next 1 - switch "$argv[1]" - case '--fcs-skip=*' - set -l rest - echo $argv[1] | tr = ' ' | read test skip_next - set -e argv[1] - end + set -l test + switch "$argv[1]" + case '--fcs-skip=*' + set -l rest + echo $argv[1] | tr = ' ' | read test skip_next + set -e argv[1] + end set -l res "" set -l had_cmd 0 @@ -14,7 +15,7 @@ function __fish_complete_subcommand -d "Complete subcommand" for i in $cmd if test $skip_next -gt 0 - set skip_next (expr $skip_next - 1) + set skip_next (expr $skip_next - 1) continue end @@ -31,7 +32,7 @@ function __fish_complete_subcommand -d "Complete subcommand" case '-*' case '*=*' case '*' - + set had_cmd 1 set res $i end diff --git a/share/functions/__fish_complete_tex.fish b/share/functions/__fish_complete_tex.fish index ecff08714..1c8876feb 100644 --- a/share/functions/__fish_complete_tex.fish +++ b/share/functions/__fish_complete_tex.fish @@ -7,15 +7,15 @@ function __fish_complete_tex -d "Common completions for all tex commands" __fish_complete_suffix (commandline -ct) .tex '(La)TeX file' )" - complete -c $argv -o file-line-error -d "Show errors in style file:line" - complete -c $argv -o no-file-line-error -d "Show errors not in style file:line" - complete -c $argv -o halt-on-error -d "Stop processing at the first error" - complete -c $argv -o interaction=batchmode -d "Set interation mode" - complete -c $argv -o interaction=nonstopmode -d "Set interation mode" - complete -c $argv -o interaction=scrollmode -d "Set interation mode" - complete -c $argv -o interaction=errorstopmode -d "Set interation mode" - complete -c $argv -o output-directory= -x -a "(__fish_complete_directories (commandline -ct))" -d "Output directory" - complete -c $argv -o shell-escape -d "Enable \write18{SHELL COMMAND}" - complete -c $argv -o no-shell-escape -d "Disable \write18{SHELL COMMAND}" - complete -c $argv -o src-specials -d "Insert source specials into the DVI file" + complete -c $argv -o file-line-error -d "Show errors in style file:line" + complete -c $argv -o no-file-line-error -d "Show errors not in style file:line" + complete -c $argv -o halt-on-error -d "Stop processing at the first error" + complete -c $argv -o interaction=batchmode -d "Set interation mode" + complete -c $argv -o interaction=nonstopmode -d "Set interation mode" + complete -c $argv -o interaction=scrollmode -d "Set interation mode" + complete -c $argv -o interaction=errorstopmode -d "Set interation mode" + complete -c $argv -o output-directory= -x -a "(__fish_complete_directories (commandline -ct))" -d "Output directory" + complete -c $argv -o shell-escape -d "Enable \write18{SHELL COMMAND}" + complete -c $argv -o no-shell-escape -d "Disable \write18{SHELL COMMAND}" + complete -c $argv -o src-specials -d "Insert source specials into the DVI file" end diff --git a/share/functions/__fish_complete_vi.fish b/share/functions/__fish_complete_vi.fish index ba7dc10b5..7eb364377 100644 --- a/share/functions/__fish_complete_vi.fish +++ b/share/functions/__fish_complete_vi.fish @@ -1,16 +1,14 @@ #completion for vi/vim -function __fish_complete_vi -d "Compleletions for vi and its aliases" - +function __fish_complete_vi -d "Compleletions for vi and its aliases" --argument-names cmd set -l is_vim - command vi --version >/dev/null ^/dev/null; and set is_vim vim - - set -l cmds -c $argv + if type $cmd > /dev/null + eval command $cmd --version >/dev/null ^/dev/null; and set -l is_vim vim + end # vim + set -l cmds -c $cmd if test -n "$is_vim" - - # these don't work #complete $cmds -a - --description 'The file to edit is read from stdin. Commands are read from stderr, which should be a tty'