add cmd subcommand
1 file changed, 7 insertions(+), 1 deletion(-)
changed files
M completions/scriptura.fish → completions/scriptura.fish
@@ -1,6 +1,6 @@ set --query SCRIPTURA_ROOT or set --local SCRIPTURA_ROOT "~/sd" -set --local subcommands run help edit cat which +set --local subcommands run help edit cat which cmd complete --command scriptura --erase@@ -41,6 +41,12 @@ --condition __fish_use_subcommand \ --exclusive \ --description (__scriptura_describe_function __scriptura_which) \ --arguments which + +complete --command scriptura \ + --condition __fish_use_subcommand \ + --exclusive \ + --description (__scriptura_describe_function __scriptura_cmd) \ + --arguments cmd complete --command scriptura \ --condition "__fish_seen_subcommand_from $subcommands new (__scriptura_subcommands)" \