all repos — scriptura @ e9bf47b59387168b9370ec60e84c4c3d0aeebc49

a corner in $HOME for your scripts

add cmd subcommand

Alin
commit

e9bf47b59387168b9370ec60e84c4c3d0aeebc49

parent

36c53cf2a712410e490f62ea03cb9a6628a3bebd

1 file changed, 7 insertions(+), 1 deletion(-)

changed files
M completions/scriptura.fishcompletions/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)" \