mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
Add completion for pix, xed, xplayer, xreader, xviewer (#9379)
Closes #9379
This commit is contained in:
parent
74b8a3befc
commit
3310ee4a0e
|
@ -122,6 +122,11 @@ Completions
|
|||
- ``dolphin``
|
||||
- ``ark``
|
||||
- ``konsole``
|
||||
- ``xed``
|
||||
- ``xviewer``
|
||||
- ``xreader``
|
||||
- ``xplayer``
|
||||
- ``pix``
|
||||
|
||||
- Improvements to some completions.
|
||||
|
||||
|
|
6
share/completions/pix.fish
Normal file
6
share/completions/pix.fish
Normal file
|
@ -0,0 +1,6 @@
|
|||
complete -c pix -l help -d 'Show help and exit'
|
||||
complete -c pix -l version -d 'Show version and exit'
|
||||
|
||||
complete -c pix -s f -l fullscreen -d 'Use fullscreen mode'
|
||||
complete -c pix -s s -l slideshow -d 'Use slideshow mode'
|
||||
complete -c pix -l import-photos -d 'Automatically import digital camera photos'
|
9
share/completions/xed.fish
Normal file
9
share/completions/xed.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
complete -c xed -s '?' -s h -l help -d 'Show help and exit'
|
||||
complete -c xed -l version -d 'Show version and exit'
|
||||
complete -c xed -l help-all -d 'Show all options and exit'
|
||||
|
||||
complete -c xed -l display -d 'X display'
|
||||
complete -c xed -l encoding -d Encoding
|
||||
complete -c xed -l new-window -d 'Create a new window'
|
||||
complete -c xed -l new-document -d 'Create a new document'
|
||||
complete -c xed -l list-encodings -d 'List encodings'
|
19
share/completions/xplayer.fish
Normal file
19
share/completions/xplayer.fish
Normal file
|
@ -0,0 +1,19 @@
|
|||
complete -c xplayer -s '?' -l help -d 'Show help and exit'
|
||||
complete -c xplayer -l version -d 'Show version and exit'
|
||||
|
||||
complete -c xplayer -l play-pause -d 'Toggle between play
|
||||
and pause'
|
||||
complete -c xplayer -l play -d Play
|
||||
complete -c xplayer -l pause -d Pause
|
||||
complete -c xplayer -l next -d 'Skip to the next movie or chapter in the playlist'
|
||||
complete -c xplayer -l previous -d 'Return to the previous movie or chapter in the playlist'
|
||||
complete -c xplayer -l seek-fwd -d 'Seek forwards 15 seconds'
|
||||
complete -c xplayer -l seek-bwd -d 'Seek backwards 15 seconds'
|
||||
complete -c xplayer -l volume-up -d 'Raise the volume by 8%'
|
||||
complete -c xplayer -l volume-down -d 'Lower the volume by 8%'
|
||||
complete -c xplayer -l mute -d 'Toggle between muted and unmuted audio'
|
||||
complete -c xplayer -l fullscreen -d 'Toggle fullscreen mode'
|
||||
complete -c xplayer -l toggle-controls -d 'Toggle showing the controls'
|
||||
complete -c xplayer -l quit -d Quit
|
||||
complete -c xplayer -l enqueue -d 'Add a new stream to the playlist'
|
||||
complete -c xplayer -l replace -d 'Play from the playlist'
|
10
share/completions/xreader.fish
Normal file
10
share/completions/xreader.fish
Normal file
|
@ -0,0 +1,10 @@
|
|||
complete -c xreader -s '?' -s h -l help -d 'Show help and exit'
|
||||
complete -c xreader -l version -d 'Show version and exit'
|
||||
complete -c xreader -l help-all -d 'Show all options and exit'
|
||||
|
||||
complete -c xreader -s p -l page-label -d 'Page label'
|
||||
complete -c xreader -s i -l page-index -d 'Page number'
|
||||
complete -c xreader -s f -l fullscreen -d 'Use fullscreen mode'
|
||||
complete -c xreader -s s -l presentation -d 'Use presentation mode'
|
||||
complete -c xreader -s w -l preview -d 'Use preview mode'
|
||||
complete -c xreader -l display -d 'X display'
|
26
share/completions/xviewer.fish
Normal file
26
share/completions/xviewer.fish
Normal file
|
@ -0,0 +1,26 @@
|
|||
complete -c xviewer -s h -l help -d 'Show help and exit'
|
||||
complete -c xviewer -l version -d 'Show version and exit'
|
||||
|
||||
complete -c xviewer -l usage -d 'Show help and exit'
|
||||
complete -c xviewer -l disable-sound -d 'Do not use sound server'
|
||||
complete -c xviewer -l enable-sound -d 'Use sound server'
|
||||
complete -c xviewer -l espeaker -d 'Host:port on which sound'
|
||||
complete -c xviewer -l gdk-debug -d 'Enabled Gdk flags'
|
||||
complete -c xviewer -l gdk-no-debug -d 'Disabled Gdk flags'
|
||||
complete -c xviewer -l display -d 'X display'
|
||||
complete -c xviewer -l sync -d 'Synchronize X calls'
|
||||
complete -c xviewer -l no-xshm -d 'Do not use X shared memory extension'
|
||||
complete -c xviewer -l name -d 'Program name'
|
||||
complete -c xviewer -l class -d 'Program class'
|
||||
complete -c xviewer -l gxid_host
|
||||
complete -c xviewer -l gxid_port
|
||||
complete -c xviewer -l xim-preedit
|
||||
complete -c xviewer -l xim-status
|
||||
complete -c xviewer -l gtk-debug -d 'Enabled Gtk+ flags'
|
||||
complete -c xviewer -l gtk-no-debug -d 'Disabled Gtk+ flags'
|
||||
complete -c xviewer -l g-fatal -d 'Treat warnings as fatal errors'
|
||||
complete -c xviewer -l gtk-module -d 'Additinal Gtk module'
|
||||
complete -c xviewer -l disable-crash-dialog
|
||||
complete -c xviewer -l sm-client-id -d 'Session management ID'
|
||||
complete -c xviewer -l sm-config-prefix -d 'Prefix of saved configuration'
|
||||
complete -c xviewer -l sm-disable -d 'Disable connection to session manager'
|
Loading…
Reference in New Issue
Block a user