mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
feat(completion): support termux-share command
This commit is contained in:
parent
4235e212de
commit
4c7e9b81ec
1 changed files with 28 additions and 0 deletions
28
share/completions/termux-share.fish
Normal file
28
share/completions/termux-share.fish
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
set command termux-share
|
||||||
|
|
||||||
|
complete -c $command -f
|
||||||
|
|
||||||
|
complete -c $command \
|
||||||
|
-s h \
|
||||||
|
-l help \
|
||||||
|
-d 'Show [h]elp'
|
||||||
|
|
||||||
|
complete -c $command \
|
||||||
|
-a 'view\tdefault edit send' \
|
||||||
|
-s a \
|
||||||
|
-d 'Specify the [a]ction to perform on a content' \
|
||||||
|
-x
|
||||||
|
|
||||||
|
complete -c $command \
|
||||||
|
-a 'text/plain\tdefault' \
|
||||||
|
-s c \
|
||||||
|
-d 'Specify the type of a [c]ontent'
|
||||||
|
|
||||||
|
complete -c $command \
|
||||||
|
-s d \
|
||||||
|
-d 'Specify the receiver of a content'
|
||||||
|
|
||||||
|
complete -c $command \
|
||||||
|
-s t \
|
||||||
|
-d 'Specify the [t]itle of a content' \
|
||||||
|
-x
|
Loading…
Reference in a new issue