fix completion, apk {add,manifest} accept files

This commit is contained in:
Jacob Panek 2022-05-12 20:37:30 +02:00 committed by Peter Ammon
parent 1893204067
commit 8c44eb5dd3

View File

@ -1,8 +1,10 @@
# Completions for apk (Alpine Package Keeper) # Completions for apk (Alpine Package Keeper)
# Package name # Package name
complete -f -c apk -n "__fish_seen_subcommand_from add info fetch dot" -a "(apk search -q)" -d Package complete -c apk -n "__fish_seen_subcommand_from add" -a "(apk search -q)" -d Package
complete -f -c apk -n "__fish_seen_subcommand_from del fix version manifest" -a "(apk info -q)" -d Package complete -c apk -n "__fish_seen_subcommand_from manifest" -a "(apk info -q)" -d Package
complete -f -c apk -n "__fish_seen_subcommand_from info fetch dot" -a "(apk search -q)" -d Package
complete -f -c apk -n "__fish_seen_subcommand_from del fix version" -a "(apk info -q)" -d Package
# Global options # Global options
complete -f -c apk -s h -l help -d "Show help" complete -f -c apk -s h -l help -d "Show help"