fix(completion): file completion

This commit is contained in:
EmilyGraceSeville7cf 2024-09-15 21:14:22 +10:00
parent 673fe671d3
commit 68324235db
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
set command termux-download
complete -c $command -f
complete -c $command \
-s h \
-d 'Show [h]elp'
complete -c $command \
-s d \
-d 'Specify a [d]escription for a download notification'
complete -c $command \
-s t \
-d 'Specify a [t]itle for a download notification'
complete -c $command \
-s p \
-d 'Specify a [p]ath for a download' \
-F -r

View file

@ -19,4 +19,4 @@ complete -c $command \
complete -c $command \
-n "__fish_seen_subcommand_from play" \
-F
-F -r