Add completions for xpdf and xmms, written by Vikas Gorur

darcs-hash:20060911141848-ac50b-a541eafba3f0155b207963633262229330c01bea.gz
This commit is contained in:
axel 2006-09-12 00:18:48 +10:00
parent 00c25436d7
commit c550f4eb21
2 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#
# Completions for the xmms command
# Vikas Gorur <vikas@80x25.org>
#
complete -c xmms -s h -l help -d (N_ "Show summary of options")
complete -c xmms -s n -l session -d (N_ "Select XMMS session (Default: 0)")
complete -c xmms -s r -l rew -d (N_ "Skip backwards in playlist")
complete -c xmms -s p -l play -d (N_ "Start playing current playlist")
complete -c xmms -s u -l pause -d (N_ "Pause current song")
complete -c xmms -s s -l stop -d (N_ "Stop current song")
complete -c xmms -s t -l play-pause -d (N_ "Pause if playing, play otherwise")
complete -c xmms -s f -l fwd -d (N_ "Skip forward in playlist")
complete -c xmms -s e -l enqueue -d (N_ "Don't clear the playlist")
complete -c xmms -s m -l show-main-window -d (N_ "Show the main window")
complete -c xmms -s v -l version -d (N_ "Print the version number and exit")

View file

@ -0,0 +1,36 @@
#
# Completions for the xpdf command
# Vikas Gorur <vikas@80x25.org>
#
complete -c xpdf -s g -d (N_ "Set the initial window geometry")
complete -c xpdf -o title -d (N_ "Set the window title")
complete -c xpdf -o cmap -d (N_ "Install a private colormap")
complete -c xpdf -o rgb -d (N_ "Set the size of the largest RGB cube xpdf will try to allocate")
complete -c xpdf -o rv -d (N_ "Set reverse video mode")
complete -c xpdf -o papercolor -d (N_ "Set the background of the page display")
complete -c xpdf -o mattecolor -d (N_ "Set the color for background outside the page area")
complete -c xpdf -s z -d (N_ "Set the initial zoom factor")
complete -c xpdf -o cont -d (N_ "Start in continuous view mode")
complete -c xpdf -o t1lib -a "yes no" -d (N_ "Enable or disable t1lib (Default: yes)")
complete -c xpdf -o freetype -a "yes no" -d (N_ "Enable or disable FreeType (Default: yes)")
complete -c xpdf -o aa -a "yes no" -d (N_ "Enable or disable font anti-aliasing (Default: yes)")
complete -c xpdf -o ps -d (N_ "Set the default file name for PostScript output")
complete -c xpdf -o paper -a "letter legal A4 A3 match" -d (N_ "Set the paper size")
complete -c xpdf -o paperw -d (N_ "Set the paper width, in points")
complete -c xpdf -o paperh -d (N_ "Set the paper height, in points")
complete -c xpdf -o level1 -d (N_ "Generate Level 1 PostScript")
complete -c xpdf -o enc -d (N_ "Sets the encoding to use for text output")
complete -c xpdf -o eol -a "unix dos mac" -d (N_ "Sets the end-of-line convention to use")
complete -c xpdf -o opw -d (N_ "Specify the owner password for the PDF file")
complete -c xpdf -o upw -d (N_ "Specify the user password for the PDF file")
complete -c xpdf -o fullscreen -d (N_ "Open xpdf in full-screen mode")
complete -c xpdf -o remote -d (N_ "Start/contact xpdf remote server")
complete -c xpdf -o reload -d (N_ "Reload xpdf remote server window")
complete -c xpdf -o raise -d (N_ "Raise xpdf remote server window")
complete -c xpdf -o quit -d (N_ "Kill xpdf remote server")
complete -c xpdf -o cmd -d (N_ "Print commands as they're executed")
complete -c xpdf -s q -d (N_ "Don't print any messages or errors")
complete -c xpdf -o cfg -d (N_ "Specify config file to use instead of ~/.xpdfrc")
complete -c xpdf -s v -d (N_ "Print copyright and version information")
complete -c xpdf -s h -d (N_ "Print usage information")