diff options
Diffstat (limited to 'share/completions')
-rw-r--r-- | share/completions/abook.fish | 2 | ||||
-rw-r--r-- | share/completions/adduser.fish | 2 | ||||
-rw-r--r-- | share/completions/dvipdf.fish | 6 | ||||
-rw-r--r-- | share/completions/dvipdfm.fish | 8 | ||||
-rw-r--r-- | share/completions/find.fish | 6 | ||||
-rw-r--r-- | share/completions/kill.fish | 2 | ||||
-rw-r--r-- | share/completions/killall.fish | 2 | ||||
-rw-r--r-- | share/completions/latexmk.fish | 2 | ||||
-rw-r--r-- | share/completions/lpadmin.fish | 4 | ||||
-rw-r--r-- | share/completions/mocp.fish | 2 | ||||
-rw-r--r-- | share/completions/pactree.fish | 2 | ||||
-rw-r--r-- | share/completions/pkgfile.fish | 2 | ||||
-rw-r--r-- | share/completions/ps2pdf.fish | 6 | ||||
-rw-r--r-- | share/completions/rfkill.fish | 2 | ||||
-rw-r--r-- | share/completions/setxkbmap.fish | 2 | ||||
-rw-r--r-- | share/completions/tree.fish | 14 | ||||
-rw-r--r-- | share/completions/xdg-mime.fish | 2 | ||||
-rw-r--r-- | share/completions/xrandr.fish | 10 | ||||
-rw-r--r-- | share/completions/xrdb.fish | 4 |
19 files changed, 40 insertions, 40 deletions
diff --git a/share/completions/abook.fish b/share/completions/abook.fish index 8b983beb..97b144b0 100644 --- a/share/completions/abook.fish +++ b/share/completions/abook.fish @@ -3,7 +3,7 @@ complete -c abook -s h -d 'Show usage' complete -c abook -s C -l config -d 'Use an alternative configuration file' -r complete -c abook -l datafile -d 'Use an alternative addressbook file' -r complete -c abook -l mutt-query -d 'Make a query for mutt' -x -complete -c abook -l add-email -d 'Read email message from stdin and add the sender' +complete -c abook -l add-email -d 'Read email message from stdin and add the sender' complete -c abook -l add-email-quiet -d 'Same as --add-email. Without confirmation' complete -c abook -l convert -d 'Convert address book files' diff --git a/share/completions/adduser.fish b/share/completions/adduser.fish index 9704625c..33d28182 100644 --- a/share/completions/adduser.fish +++ b/share/completions/adduser.fish @@ -14,7 +14,7 @@ complete -c adduser -l gecos --description 'Set the gecos field for the new entr complete -c adduser -l gid --description 'When creating a group, this option forces the new groupid to be the given number' -r complete -c adduser -l group --description 'When combined with --system, a group with the same name and ID as the system user is created' complete -c adduser -l help --description 'Display brief instructions' -complete -c adduser -l home --description 'Use specified directory as the user\'s home directory' -x -a '(__fish_complete_directories)' +complete -c adduser -l home --description 'Use specified directory as the user\'s home directory' -x -a '(__fish_complete_directories)' complete -c adduser -l shell --description 'Use shell as the user\'s login shell, rather than the default specified by the configuration file' -x -a '(cat /etc/shells)' complete -c adduser -l ingroup --description 'Add the new user to GROUP instead of a usergroup or the default group defined by USERS_GID in the configuration file' -x -a '(cat /etc/group|cut -d : -f 1)' complete -c adduser -l no-create-home --description 'Do not create the home directory, even if it doesni\'t exist' diff --git a/share/completions/dvipdf.fish b/share/completions/dvipdf.fish index 8c8a8354..300bb811 100644 --- a/share/completions/dvipdf.fish +++ b/share/completions/dvipdf.fish @@ -1,3 +1,3 @@ -complete -c dvipdf -x -a "(
- __fish_complete_suffix .dvi
- )"
+complete -c dvipdf -x -a "( + __fish_complete_suffix .dvi + )" diff --git a/share/completions/dvipdfm.fish b/share/completions/dvipdfm.fish index c49b469e..94f6668c 100644 --- a/share/completions/dvipdfm.fish +++ b/share/completions/dvipdfm.fish @@ -1,4 +1,4 @@ -complete -c dvipdfm -x -a "
-(
- __fish_complete_suffix .dvi
-)"
+complete -c dvipdfm -x -a " +( + __fish_complete_suffix .dvi +)" diff --git a/share/completions/find.fish b/share/completions/find.fish index 63f9d874..28b5471a 100644 --- a/share/completions/find.fish +++ b/share/completions/find.fish @@ -36,9 +36,9 @@ complete -c find -o cmin --description "File status last changed specified numbe complete -c find -o cnewer --description "File status last changed more recently than file was modified" -r complete -c find -o ctime --description "File status last changed specified number of days ago" -r -complete -c find -o empty --description "File is empty and is either a regular file or a directory" -complete -c find -o executable --description "File is executable" -complete -c find -o false --description "Always false" +complete -c find -o empty --description "File is empty and is either a regular file or a directory" +complete -c find -o executable --description "File is executable" +complete -c find -o false --description "Always false" complete -c find -o fstype --description "File is on filesystem of specified type" -a "(__fish_print_filesystems)" -r complete -c find -o gid --description "Numeric group id of file" -r complete -c find -o group --description "Group name of file" -a "(__fish_complete_groups)" diff --git a/share/completions/kill.fish b/share/completions/kill.fish index cd7d2353..955795fb 100644 --- a/share/completions/kill.fish +++ b/share/completions/kill.fish @@ -6,7 +6,7 @@ for i in $__kill_signals complete -c kill -o $number -d $name complete -c kill -o $name -d $name complete -c kill -o s -x -a \"$number\tSend\ $name\ signal\" - complete -c kill -o s -x -a \"$name\tSend\ $name\ signal\" + complete -c kill -o s -x -a \"$name\tSend\ $name\ signal\" end complete -c kill -xa '(__fish_complete_pids)' diff --git a/share/completions/killall.fish b/share/completions/killall.fish index dc5fec39..ae70c900 100644 --- a/share/completions/killall.fish +++ b/share/completions/killall.fish @@ -6,7 +6,7 @@ for i in $__kill_signals complete -c killall -o $number -d $name complete -c killall -o $name -d $name complete -c killall -o s -x -a \"$number\tSend\ $name\ signal\" - complete -c killall -o s -x -a \"$name\tSend\ $name\ signal\" + complete -c killall -o s -x -a \"$name\tSend\ $name\ signal\" end complete -c killall -xa '(__fish_complete_proc)' diff --git a/share/completions/latexmk.fish b/share/completions/latexmk.fish index 6b2c33e1..07818dfe 100644 --- a/share/completions/latexmk.fish +++ b/share/completions/latexmk.fish @@ -48,7 +48,7 @@ complete -c latexmk -o print=ps -d 'when file is to be printed, print the ps complete -c latexmk -o print=pdf -d 'when file is to be printed, print the pdf file' complete -c latexmk -o pv -d 'preview document' complete -c latexmk -o pv- -d 'turn off preview mode' -complete -c latexmk -o pvc -d 'preview document and continuously update' +complete -c latexmk -o pvc -d 'preview document and continuously update' complete -c latexmk -o pvc- -d 'turn off -pvc' complete -c latexmk -o quiet -d 'silence progress messages from called programs' complete -c latexmk -o r -r -d 'Read custom RC file' diff --git a/share/completions/lpadmin.fish b/share/completions/lpadmin.fish index f542086c..099309b9 100644 --- a/share/completions/lpadmin.fish +++ b/share/completions/lpadmin.fish @@ -6,8 +6,8 @@ complete -c lpadmin -s r -d 'Removes the named printer from class. If the result complete -c lpadmin -s v -d 'Sets the device-uri attribute of the printer queue' -r complete -c lpadmin -s D -d 'Provides a textual description of the destination' -x -complete -c lpadmin -s E -d 'Enables the destination and accepts jobs' -complete -c lpadmin -s L -d 'Provides a textual location of the destination' -x +complete -c lpadmin -s E -d 'Enables the destination and accepts jobs' +complete -c lpadmin -s L -d 'Provides a textual location of the destination' -x complete -c lpadmin -s P -d 'Specifies a PostScript Printer Description file to use with the printer' -xa "(__fish_complete_suffix .ppd; __fish_complete_suffix .ppd.gz)" complete -c lpadmin -s o -xa cupsIPPSupplies=true -d 'Specifies whether IPP supply level values should be reported' complete -c lpadmin -s o -xa cupsIPPSupplies=false -d 'Specifies whether IPP supply level values should be reported' diff --git a/share/completions/mocp.fish b/share/completions/mocp.fish index 6d44169f..19020abf 100644 --- a/share/completions/mocp.fish +++ b/share/completions/mocp.fish @@ -23,7 +23,7 @@ complete -c mocp -s U -l unpause -d "Unpause" complete -c mocp -s G -l toggle-pause -d "Toggle between play/pause" complete -c mocp -s v -l volume -d "(+/-)LEVEL Adjust PCM volume" -xa '+ -' complete -c mocp -s y -l sync -d "Synchronize the playlist with other clients" -complete -c mocp -s n -l nosync -d "Don't synchronize the playlist with other client's" +complete -c mocp -s n -l nosync -d "Don't synchronize the playlist with other client's" complete -c mocp -s A -l ascii -d "Use ASCII characters to draw lines" complete -c mocp -s i -l info -d "Print the information about the currently played file" complete -c mocp -s Q -l format -rf -d "Print the formatted information about the currently played file" diff --git a/share/completions/pactree.fish b/share/completions/pactree.fish index 43cb881c..81c37d72 100644 --- a/share/completions/pactree.fish +++ b/share/completions/pactree.fish @@ -1,4 +1,4 @@ -complete -c pactree -xa "(pacman -Sl | cut --delim ' ' --fields 2- | tr ' ' \t | sort)" +complete -c pactree -xa "(pacman -Sl | cut --delim ' ' --fields 2- | tr ' ' \t | sort)" complete -c pactree -s b -l dbpath -d 'Set an alternate database location' -xa '(__fish_complete_directories)' complete -c pactree -s c -l color -d 'Colorize output' complete -c pactree -s d -l depth -d 'Limit the depth of recursion' -x diff --git a/share/completions/pkgfile.fish b/share/completions/pkgfile.fish index d76a7977..e8af0b0f 100644 --- a/share/completions/pkgfile.fish +++ b/share/completions/pkgfile.fish @@ -3,7 +3,7 @@ complete -c pkgfile -s h -l help -d 'show this help message and exit' complete -c pkgfile -s b -l binaries -d 'only show files in a {s}bin/ directory. Works with -s, -l' complete -c pkgfile -s c -l case-sensitive -d 'make searches case sensitive' complete -c pkgfile -s g -l glob -d 'allow the use of * and ? as wildcards' -complete -c pkgfile -s r -l regex -d 'allow the use of regex in searches' +complete -c pkgfile -s r -l regex -d 'allow the use of regex in searches' complete -c pkgfile -s R -l repo -d 'search only in the specified repository' -xa '(cat /etc/pacman.conf|grep "^\[" | sed "s/\[\|]//g")' complete -c pkgfile -s v -l verbose -d 'enable verbose output' complete -c pkgfile -s i -l info -d 'provides information about the package owning a file' -r diff --git a/share/completions/ps2pdf.fish b/share/completions/ps2pdf.fish index 05975ced..036b0c1d 100644 --- a/share/completions/ps2pdf.fish +++ b/share/completions/ps2pdf.fish @@ -1,3 +1,3 @@ -complete -c ps2pdf -x -a "(
- __fish_complete_suffix .ps
- )"
+complete -c ps2pdf -x -a "( + __fish_complete_suffix .ps + )" diff --git a/share/completions/rfkill.fish b/share/completions/rfkill.fish index a8b78661..4ee6cf3c 100644 --- a/share/completions/rfkill.fish +++ b/share/completions/rfkill.fish @@ -1,4 +1,4 @@ -complete -c rfkill -xa 'block unblock list event help' -n 'not __fish_seen_subcommand_from block unblock list event help' +complete -c rfkill -xa 'block unblock list event help' -n 'not __fish_seen_subcommand_from block unblock list event help' complete -c rfkill -n '__fish_seen_subcommand_from block unblock list' -d 'device group' -xa "all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm (rfkill list | tr : \t)" complete -c rfkill -l version -d 'Print version' diff --git a/share/completions/setxkbmap.fish b/share/completions/setxkbmap.fish index b3561346..71aab63e 100644 --- a/share/completions/setxkbmap.fish +++ b/share/completions/setxkbmap.fish @@ -13,7 +13,7 @@ complete -c setxkbmap -o keymap -d 'Specifies name of keymap to load' -xa "(c complete -c setxkbmap -o layout -d 'Specifies layout used to choose component names' -xa "(__fish_complete_setxkbmap layout)" complete -c setxkbmap -o model -d 'Specifies model used to choose component names' -xa "(__fish_complete_setxkbmap model)" complete -c setxkbmap -o option -d 'Adds an option used to choose component names' -xa "(__fish_complete_list , '__fish_complete_setxkbmap option')" -complete -c setxkbmap -o print -d 'Print a complete xkb_keymap description and exit' +complete -c setxkbmap -o print -d 'Print a complete xkb_keymap description and exit' complete -c setxkbmap -o query -d 'Print the current layout settings and exit' complete -c setxkbmap -o rules -d 'Name of rules file to use' -x complete -c setxkbmap -o symbols -d 'Specifies symbols component name' -xa "(cat /usr/share/X11/xkb/symbols.dir | sed -r $filter)" diff --git a/share/completions/tree.fish b/share/completions/tree.fish index 919e9938..b32fb3fc 100644 --- a/share/completions/tree.fish +++ b/share/completions/tree.fish @@ -1,5 +1,5 @@ - + ## Listing options complete -c tree -s a -d 'All files are listed' complete -c tree -s d -d 'List directories only' @@ -16,7 +16,7 @@ complete -c tree -l filelimit -r -d 'Do not descend dirs with more than # files complete -c tree -l timefmt -x -d 'Print and format time according to the format <f>' complete -c tree -s o -r -d 'Output to file instead of stdout' -## File options +## File options complete -c tree -s q -d 'Print non-printable characters as \'?\'' complete -c tree -s N -d 'Print non-printable characters as is' complete -c tree -s Q -d 'Quote filenames with double quotes' @@ -32,27 +32,27 @@ complete -c tree -l inodes -d 'Print inode number of each file' complete -c tree -l device -d 'Print device ID number to which each file belongs' -## Sorting options +## Sorting options complete -c tree -s v -d 'Sort files alphanumerically by version' complete -c tree -s r -d 'Sort files in reverse alphanumeric order' complete -c tree -s t -d 'Sort files by last modification time' complete -c tree -s c -d 'Sort files by last status change time' complete -c tree -s U -d 'Leave files unsorted' complete -c tree -l dirsfirst -d 'List directories before files (-U disables)' - -## Graphics options + +## Graphics options complete -c tree -s i -d 'Don\'t print indentation lines' complete -c tree -s A -d 'Print ANSI lines graphic indentation lines' complete -c tree -s S -d 'Print with ASCII graphics indentation lines' complete -c tree -s n -d 'Turn colorization off always (-C overrides)' complete -c tree -s C -d 'Turn colorization on always' -## XML/HTML options +## XML/HTML options complete -c tree -s X -d 'Prints out an XML representation of the tree' complete -c tree -s H -r -d 'Prints out HTML format with baseHREF as top directory' complete -c tree -s T -r -d 'Replace the default HTML title and H1 header with string' complete -c tree -l nolinks -d 'Turn off hyperlinks in HTML output' - + ## Miscellaneous options complete -c tree -l version -d 'Print version and exit' complete -c tree -l help -d 'Print usage and this help message and exit' diff --git a/share/completions/xdg-mime.fish b/share/completions/xdg-mime.fish index 13ff942c..e2b597dc 100644 --- a/share/completions/xdg-mime.fish +++ b/share/completions/xdg-mime.fish @@ -18,7 +18,7 @@ complete -c xdg-mime -d 'Mimetype' -n '__fish_seen_subcommand_from def # complete xdg-mime install complete -c xdg-mime -d 'Add filetype description' -n 'contains_seq xdg-mime install -- (commandline -cop)' -r complete -c xdg-mime -d 'Set mode' -n 'contains_seq xdg-mime install -- (commandline -cop)' -l mode -xa 'user system' -complete -c xdg-mime -d 'Disable vendor check' -n 'contains_seq xdg-mime install -- (commandline -cop)' -l novendor +complete -c xdg-mime -d 'Disable vendor check' -n 'contains_seq xdg-mime install -- (commandline -cop)' -l novendor # complete xdg-mime uninstall complete -c xdg-mime -d 'Remove filetype description' -n 'contains_seq xdg-mime uninstall -- (commandline -cop)' -r diff --git a/share/completions/xrandr.fish b/share/completions/xrandr.fish index a49fd2b4..a05c832f 100644 --- a/share/completions/xrandr.fish +++ b/share/completions/xrandr.fish @@ -6,11 +6,11 @@ complete -c xrandr -s v -l version -d 'Print out the RandR version reported by t complete -c xrandr -s q -l query -d 'Display the current state of the system' complete -c xrandr -s d -o display -d 'Select X display to use' -x complete -c xrandr -l screen -d 'Select which screen to manipulate' -x -complete -c xrandr -l q1 -d 'Use RandR version 1.1 protocol' -complete -c xrandr -l q12 -d 'Use RandR version 1.2 protocol' +complete -c xrandr -l q1 -d 'Use RandR version 1.1 protocol' +complete -c xrandr -l q12 -d 'Use RandR version 1.2 protocol' set -l ver (xrandr -v | grep RandR | sed 's/^.\+\s\([0-9\.]\+\)$/\1/') -if not expr match $ver '^[0-9.]*$' >/dev/null +if not expr match $ver '^[0-9.]*$' >/dev/null set ver 10 end @@ -25,7 +25,7 @@ if expr $ver '>' 1.1 complete -c xrandr -l prop -l properties -d 'Display the contents of properties for each output' complete -c xrandr -l fb -d 'Set screen size' -x complete -c xrandr -l fbmm -d 'Set reported physical screen size' -x - complete -c xrandr -l dpi -d 'Set dpi to calculate reported physical screen size' + complete -c xrandr -l dpi -d 'Set dpi to calculate reported physical screen size' complete -c xrandr -l newmode -d 'Add new mode' -r complete -c xrandr -l rmmode -d 'Removes a mode from the server' -xa '(__fish_print_xrandr_modes)' complete -c xrandr -l addmode -d 'Add a mode to the set of valid modes for an output' -xa '(__fish_print_xrandr_outputs)' @@ -53,7 +53,7 @@ end if expr $ver '>' 1.2 complete -c xrandr -l noprimary -d 'Don\'t define a primary output.' complete -c xrandr -l current -d 'Print current screen configuration' - complete -c xrandr -l panning -d 'Set panning: widthxheight[+x+y[/track_widthxtrack_height+track_x+track_y[/border_left/border_top/border_right/border_bottom]]]' -x + complete -c xrandr -l panning -d 'Set panning: widthxheight[+x+y[/track_widthxtrack_height+track_x+track_y[/border_left/border_top/border_right/border_bottom]]]' -x complete -c xrandr -l transform -d 'Set transformation matrix: a,b,c,d,e,f,g,h,i for [ [a,b,c], [d,e,f], [g,h,i] ]' -x complete -c xrandr -l scale -d 'Set scren scale' -x complete -c xrandr -l primary -d 'Set the output as primary' diff --git a/share/completions/xrdb.fish b/share/completions/xrdb.fish index bddafb5f..edb5b291 100644 --- a/share/completions/xrdb.fish +++ b/share/completions/xrdb.fish @@ -16,6 +16,6 @@ complete -c xrdb -o symbols -d 'show preprocessor symbols' complete -c xrdb -o remove -d 'remove resources' complete -c xrdb -o retain -d 'avoid server reset (avoid using this)' complete -c xrdb -o quiet -d 'don\'t warn about duplicates' -#complete -c xrdb -s Dname[=value], -#complete -c xrdb -s Uname, +#complete -c xrdb -s Dname[=value], +#complete -c xrdb -s Uname, #complete -c xrdb -s Idirectory -d 'passed to preprocessor' |