all repos — scriptura @ a6778d7afa62b41238d549ce40328047fb7c44a2

a corner in $HOME for your scripts

add command completion to --new (after --)

Alan Pearce
commit

a6778d7afa62b41238d549ce40328047fb7c44a2

parent

319bfc4b41d00530088721134a067d172de8bd3a

1 file changed, 11 insertions(+), 0 deletions(-)

changed files
A functions/__scriptura_complete_new.fish
@@ -0,0 +1,11 @@
+function __scriptura_complete_new + test (count $argv) -ne 0 + or set --function argv (commandline -xpc)[2..] (commandline -ct) + + set --function index (contains --index -- "--" $argv) + or return + + set --function remaining $argv[(math $index + 1)..] + + __fish_complete_subcommand --commandline $remaining +end