From 55d9f6f9bb7bd7978c01b07c2ecc5fec481504b2 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sat, 26 Mar 2016 16:55:25 +0900 Subject: [PATCH] Add completions for `fisher new`. --- completions/fisher.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/completions/fisher.fish b/completions/fisher.fish index b087ec4..a40630a 100644 --- a/completions/fisher.fish +++ b/completions/fisher.fish @@ -6,6 +6,11 @@ complete -c fisher -a "tutorial" -d "An introduction to Fisherman" -n "__fish_se complete -c fisher -n "__fish_use_subcommand" -s h -l help -d "Show usage help" complete -c fisher -n "__fish_use_subcommand" -s v -l version -d "Show version information" +complete -c fisher -a "plugin" -d "Plugin template" -n "__fish_seen_subcommand_from new" +complete -c fisher -a "command" -d "Fisherman command template" -n "__fish_seen_subcommand_from new" +complete -c fisher -a "prompt" -d "Prompt/Theme template" -n "__fish_seen_subcommand_from new" +complete -c fisher -a "snippet" -d "Snippet template" -n "__fish_seen_subcommand_from new" + __fisher_help_commands | while read -l command info complete -c fisher -n "__fish_use_subcommand" -a $command -d "$info" complete -c fisher -n "__fish_seen_subcommand_from help" -a $command -d "$info"