feat(completion): support termux-share command

This commit is contained in:
EmilyGraceSeville7cf 2024-09-16 01:20:09 +10:00
parent 4235e212de
commit 4c7e9b81ec

View 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