mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
fix(completion): remove mnemonics
This commit is contained in:
parent
1175c701a2
commit
1a1169fece
25 changed files with 86 additions and 86 deletions
|
@ -4,12 +4,12 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a '10\tdefault' \
|
||||
-s l \
|
||||
-d '[l]imit the amount of listed calls' \
|
||||
-d 'Limit the amount of listed calls' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
|
|
|
@ -4,10 +4,10 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_camera_ids)' \
|
||||
-s c \
|
||||
-d 'Specify the ID of a [c]amera' \
|
||||
-d 'Specify the ID of a camera' \
|
||||
-x
|
||||
|
|
|
@ -4,17 +4,17 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s l \
|
||||
-l list \
|
||||
-d '[l]ist all widgets and their options'
|
||||
-d 'List all widgets and their options'
|
||||
|
||||
complete -c $command \
|
||||
-s t \
|
||||
-l title \
|
||||
-d 'Specify the [t]itle of a dialog' \
|
||||
-d 'Specify the title of a dialog' \
|
||||
-x
|
||||
|
||||
set subcommands_with_descriptions 'confirm\t"Show a confirmation"' \
|
||||
|
@ -36,7 +36,7 @@ complete -c $command \
|
|||
|
||||
complete -c $command \
|
||||
-s i \
|
||||
-d "Specify the text h[i]nt of a dialog" \
|
||||
-d "Specify the text hint of a dialog" \
|
||||
-n "__fish_seen_subcommand_from confirm speech text" \
|
||||
-x
|
||||
|
||||
|
@ -48,14 +48,14 @@ complete -c $command \
|
|||
|
||||
complete -c $command \
|
||||
-s r \
|
||||
-d "Specify the number [r]ange of a dialog" \
|
||||
-d "Specify the number range of a dialog" \
|
||||
-n "__fish_seen_subcommand_from counter" \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-a '"dd-MM-yyyy k:m:s"\tdefault' \
|
||||
-s d \
|
||||
-d "Specify the [d]ate format of a dialog" \
|
||||
-d "Specify the date format of a dialog" \
|
||||
-n "__fish_seen_subcommand_from date" \
|
||||
-x
|
||||
|
||||
|
@ -63,15 +63,15 @@ set text_condition "__fish_seen_subcommand_from text"
|
|||
|
||||
complete -c $command \
|
||||
-s m \
|
||||
-d "Enable the [m]ultiline input mode in a dialog" \
|
||||
-d "Enable the multiline input mode in a dialog" \
|
||||
-n "$text_condition; and not __fish_seen_argument -s n"
|
||||
|
||||
complete -c $command \
|
||||
-s n \
|
||||
-d "Enable the [n]umber input mode in a dialog" \
|
||||
-d "Enable the number input mode in a dialog" \
|
||||
-n "$text_condition; and not __fish_seen_argument -s m"
|
||||
|
||||
complete -c $command \
|
||||
-s p \
|
||||
-d "Enable the [p]assword input mode in a dialog" \
|
||||
-d "Enable the password input mode in a dialog" \
|
||||
-n $text_condition
|
||||
|
|
|
@ -4,19 +4,19 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s d \
|
||||
-d 'Specify the [d]escription for a download notification' \
|
||||
-d 'Specify the description for a download notification' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s t \
|
||||
-d 'Specify the [t]itle for a download notification' \
|
||||
-d 'Specify the title for a download notification' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s p \
|
||||
-d 'Specify the [p]ath for a download' \
|
||||
-d 'Specify the path for a download' \
|
||||
-F -r
|
||||
|
|
|
@ -4,9 +4,9 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s f \
|
||||
-d 'Specify the IR carrier [f]requency' \
|
||||
-d 'Specify the IR carrier frequency' \
|
||||
-x
|
||||
|
|
|
@ -4,12 +4,12 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s p \
|
||||
-l pending \
|
||||
-d 'List [p]ending jobs'
|
||||
-d 'List pending jobs'
|
||||
|
||||
complete -c $command \
|
||||
-l cancel-all \
|
||||
|
@ -18,7 +18,7 @@ complete -c $command \
|
|||
complete -c $command \
|
||||
-s s \
|
||||
-l script \
|
||||
-d 'Specify a [s]cript path to schedule' \
|
||||
-d 'Specify a script path to schedule' \
|
||||
-r
|
||||
|
||||
complete -c $command \
|
||||
|
|
|
@ -4,7 +4,7 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a 'gps\tdefault network passive' \
|
||||
|
|
|
@ -4,7 +4,7 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
set subcommands_with_descriptions 'info\t"Show a current playback information"' \
|
||||
'play\t"Resume a playback if paused | Play a specific media file"' \
|
||||
|
|
|
@ -2,12 +2,12 @@ set command termux-media-scan
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s r \
|
||||
-d 'Scan directories [r]ecursively'
|
||||
-d 'Scan directories recursively'
|
||||
|
||||
complete -c $command \
|
||||
-s v \
|
||||
-d 'Show [v]erbose messages'
|
||||
-d 'Show verbose messages'
|
||||
|
|
|
@ -4,7 +4,7 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s d \
|
||||
|
@ -12,40 +12,40 @@ complete -c $command \
|
|||
|
||||
complete -c $command \
|
||||
-s f \
|
||||
-d 'Specify a [f]ile to save recording to' \
|
||||
-d 'Specify a file to save recording to' \
|
||||
-F -r
|
||||
|
||||
complete -c $command \
|
||||
-a '0\tdefault' \
|
||||
-s l \
|
||||
-d 'Specify the length [l]imit of a recording' \
|
||||
-d 'Specify the length limit of a recording' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-a 'aac amr_wb amr_nb' \
|
||||
-s e \
|
||||
-d 'Specify the [e]ncoder of a recording' \
|
||||
-d 'Specify the encoder of a recording' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s b \
|
||||
-d 'Specify the [b]itrate of a recording' \
|
||||
-d 'Specify the bitrate of a recording' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s r \
|
||||
-d 'Specify the sampling [r]ate of a recording' \
|
||||
-d 'Specify the sampling rate of a recording' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s c \
|
||||
-d 'Specify the [c]hannel count of a recording' \
|
||||
-d 'Specify the channel count of a recording' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s i \
|
||||
-d 'Show [i]nformation about the current recording'
|
||||
-d 'Show information about the current recording'
|
||||
|
||||
complete -c $command \
|
||||
-s q \
|
||||
-d '[q]uit the current recording'
|
||||
-d 'Quit the current recording'
|
||||
|
|
|
@ -5,7 +5,7 @@ complete -c $command -f
|
|||
complete -c $command \
|
||||
-s h \
|
||||
-l help \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_group_ids)' \
|
||||
|
|
|
@ -5,7 +5,7 @@ complete -c $command -f
|
|||
complete -c $command \
|
||||
-s h \
|
||||
-l help \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-l action \
|
||||
|
@ -36,7 +36,7 @@ end
|
|||
complete -c $command \
|
||||
-s c \
|
||||
-l content \
|
||||
-d 'Specify the [c]ontent of a notification' \
|
||||
-d 'Specify the content of a notification' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
|
@ -47,12 +47,12 @@ complete -c $command \
|
|||
|
||||
complete -c $command \
|
||||
-l help-actions \
|
||||
-d 'Show [h]elp for the actions of a notification'
|
||||
-d 'Show help for the actions of a notification'
|
||||
|
||||
complete -c $command \
|
||||
-s i \
|
||||
-l id \
|
||||
-d 'Specify the [i]dentifier of a notification' \
|
||||
-d 'Specify the identifier of a notification' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
|
@ -98,7 +98,7 @@ complete -c $command \
|
|||
complete -c $command \
|
||||
-s t \
|
||||
-l title \
|
||||
-d 'Specify the [t]itle of a notification' \
|
||||
-d 'Specify the title of a notification' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
|
|
|
@ -23,12 +23,12 @@ complete -c $command -f
|
|||
complete -c $command \
|
||||
-s h \
|
||||
-l help \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s a \
|
||||
-l all \
|
||||
-d 'Listen to [a]ll sensors'
|
||||
-d 'Listen to all sensors'
|
||||
|
||||
complete -c $command \
|
||||
-s c \
|
||||
|
@ -38,24 +38,24 @@ complete -c $command \
|
|||
complete -c $command \
|
||||
-s l \
|
||||
-l list \
|
||||
-d '[l]ist sensors'
|
||||
-d 'List sensors'
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_sensor_ids_as_list)' \
|
||||
-s s \
|
||||
-l sensors \
|
||||
-d 'Specify comma-separated [s]ensors to listen to' \
|
||||
-d 'Specify comma-separated sensors to listen to' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s d \
|
||||
-l delay \
|
||||
-d 'Specify the [d]elay between sensor updates' \
|
||||
-d 'Specify the delay between sensor updates' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-a 'continuous\tdefault' \
|
||||
-s n \
|
||||
-l limit \
|
||||
-d 'Specify a [n]umber of times to read senors' \
|
||||
-d 'Specify a number of times to read senors' \
|
||||
-x
|
||||
|
|
|
@ -5,18 +5,18 @@ complete -c $command -f
|
|||
complete -c $command \
|
||||
-s h \
|
||||
-l help \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a 'view\tdefault edit send' \
|
||||
-s a \
|
||||
-d 'Specify the [a]ction to perform on a content' \
|
||||
-d 'Specify the action to perform on a content' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-a 'text/plain\tdefault' \
|
||||
-s c \
|
||||
-d 'Specify the type of a [c]ontent'
|
||||
-d 'Specify the type of a content'
|
||||
|
||||
complete -c $command \
|
||||
-s d \
|
||||
|
@ -24,5 +24,5 @@ complete -c $command \
|
|||
|
||||
complete -c $command \
|
||||
-s t \
|
||||
-d 'Specify the [t]itle of a content' \
|
||||
-d 'Specify the title of a content' \
|
||||
-x
|
||||
|
|
|
@ -4,21 +4,21 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s d \
|
||||
-d 'Show the creation [d]ates of listed messages'
|
||||
-d 'Show the creation dates of listed messages'
|
||||
|
||||
complete -c $command \
|
||||
-a '10\tdefault' \
|
||||
-s l \
|
||||
-d '[l]imit the amount of listed messages' \
|
||||
-d 'Limit the amount of listed messages' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s n \
|
||||
-d 'Show the phone [n]umbers of listed messages'
|
||||
-d 'Show the phone numbers of listed messages'
|
||||
|
||||
complete -c $command \
|
||||
-a '0\tdefault' \
|
||||
|
@ -29,5 +29,5 @@ complete -c $command \
|
|||
complete -c $command \
|
||||
-a 'inbox\tdefault all sent draft outbox' \
|
||||
-s t \
|
||||
-d 'Filter listed messages by the [t]ype' \
|
||||
-d 'Filter listed messages by the type' \
|
||||
-x
|
||||
|
|
|
@ -4,15 +4,15 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_complete_list , __fish_termux_api__complete_phone_numbers)' \
|
||||
-s n \
|
||||
-d 'Specify the recipient [n]umbers of a message' \
|
||||
-d 'Specify the recipient numbers of a message' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s s \
|
||||
-d 'Specify the sim [s]lot to use for a message' \
|
||||
-d 'Specify the sim slot to use for a message' \
|
||||
-x
|
||||
|
|
|
@ -4,7 +4,7 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_phone_numbers)'
|
||||
|
|
|
@ -4,18 +4,18 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_colors)' \
|
||||
-s b \
|
||||
-d 'Specify the [b]ackground color of a message' \
|
||||
-d 'Specify the background color of a message' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_colors)' \
|
||||
-s c \
|
||||
-d 'Specify the text [c]olor of a message' \
|
||||
-d 'Specify the text color of a message' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
|
@ -26,4 +26,4 @@ complete -c $command \
|
|||
|
||||
complete -c $command \
|
||||
-s s \
|
||||
-d 'Show a message for the [s]hort period of time'
|
||||
-d 'Show a message for the short period of time'
|
||||
|
|
|
@ -4,7 +4,7 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a 'on off' \
|
||||
|
|
|
@ -4,41 +4,41 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_tts_engines)' \
|
||||
-s e \
|
||||
-d 'Specify the TTS [e]ngine for a speech' \
|
||||
-d 'Specify the TTS engine for a speech' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s l \
|
||||
-d 'Specify the [l]anguage of a speech' \
|
||||
-d 'Specify the language of a speech' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s n \
|
||||
-d 'Specify the regio[n] of a speech' \
|
||||
-d 'Specify the region of a speech' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s v \
|
||||
-d 'Specify the language [v]ariant of a speech' \
|
||||
-d 'Specify the language variant of a speech' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s p \
|
||||
-d 'Specify the [p]itch of a speech' \
|
||||
-d 'Specify the pitch of a speech' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-s r \
|
||||
-d 'Specify the [r]ate of a speech' \
|
||||
-d 'Specify the rate of a speech' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_stream_ids | string replace --regex "(notification)" "\$1\tdefault")' \
|
||||
-s s \
|
||||
-d 'Specify the [s]tream for a speech' \
|
||||
-d 'Specify the stream for a speech' \
|
||||
-x
|
||||
|
|
|
@ -4,18 +4,18 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s l \
|
||||
-d '[l]ist all devices'
|
||||
-d 'List all devices'
|
||||
|
||||
complete -c $command \
|
||||
-s r \
|
||||
-d 'Show the permission [r]equest dialog for a device'
|
||||
-d 'Show the permission request dialog for a device'
|
||||
|
||||
complete -c $command \
|
||||
-s e \
|
||||
-d '[e]xecute the specified command for a device' \
|
||||
-d 'execute the specified command for a device' \
|
||||
-x
|
||||
|
|
@ -4,12 +4,12 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a '1000\tdefault' \
|
||||
-s d \
|
||||
-d 'Specify the [d]uration of a vibration' \
|
||||
-d 'Specify the duration of a vibration' \
|
||||
-x
|
||||
|
||||
complete -c $command \
|
||||
|
|
|
@ -4,4 +4,4 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-a '(__fish_termux_api__complete_stream_ids)' \
|
||||
-d 'Specify the [s]tream for a volume'
|
||||
-d 'Specify the stream for a volume'
|
||||
|
|
|
@ -4,18 +4,18 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-s f \
|
||||
-d 'Specify the [f]ile of a wallpaper' \
|
||||
-d 'Specify the file of a wallpaper' \
|
||||
-F -r
|
||||
|
||||
complete -c $command \
|
||||
-s u \
|
||||
-d 'Specify the [u]RL of a wallpaper' \
|
||||
-d 'Specify the uRL of a wallpaper' \
|
||||
-F -r
|
||||
|
||||
complete -c $command \
|
||||
-s l \
|
||||
-d 'Set a wallpaper for the [l]ockscreen'
|
||||
-d 'Set a wallpaper for the lockscreen'
|
||||
|
|
|
@ -4,7 +4,7 @@ complete -c $command -f
|
|||
|
||||
complete -c $command \
|
||||
-s h \
|
||||
-d 'Show [h]elp'
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command \
|
||||
-a 'true false' \
|
||||
|
|
Loading…
Reference in a new issue