mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
de426323be
- reformat code - remove redundant functions
22 lines
779 B
Fish
22 lines
779 B
Fish
set -l command termux-microphone-record
|
|
|
|
complete -c $command -f
|
|
|
|
complete -c $command -s h -d 'Show help'
|
|
|
|
complete -c $command -s d -d Record
|
|
complete -c $command -s f -F -r -d 'Specify a file to save recording to'
|
|
|
|
complete -c $command -s l -x \
|
|
-a '0\tdefault' \
|
|
-d 'Specify the length limit of a recording'
|
|
|
|
complete -c $command -s e -x \
|
|
-a 'aac amr_wb amr_nb' \
|
|
-d 'Specify the encoder of a recording'
|
|
|
|
complete -c $command -s b -x -d 'Specify the bitrate of a recording'
|
|
complete -c $command -s r -x -d 'Specify the sampling rate of a recording'
|
|
complete -c $command -s c -x -d 'Specify the channel count of a recording'
|
|
complete -c $command -s i -d 'Show information about the current recording'
|
|
complete -c $command -s q -d 'Quit the current recording'
|