set --query SCRIPTURA_ROOT or set --local SCRIPTURA_ROOT "~/sd" complete --command scriptura --no-files complete --command scriptura \ --condition 'not __fish_seen_subcommand_from $(__scriptura_print $SCRIPTURA_ROOT)' \ --short-option h --long-option help \ --description 'Display help information' complete --command scriptura \ --condition 'not __fish_seen_subcommand_from $(__scriptura_print $SCRIPTURA_ROOT)' \ --short-option n --long-option new \ --description 'Create new script' complete --command scriptura \ --condition 'not __fish_seen_subcommand_from $(__scriptura_print $SCRIPTURA_ROOT)' \ --short-option e --long-option edit \ --description 'Edit existing script' complete --command scriptura \ --condition 'not __fish_seen_subcommand_from $(__scriptura_print $SCRIPTURA_ROOT)' \ --short-option c --long-option cat \ --description 'Display script content' complete --command scriptura \ --condition 'not __fish_seen_subcommand_from $(__scriptura_print $SCRIPTURA_ROOT)' \ --short-option w --long-option which \ --description 'Display script path' complete --command scriptura \ --condition 'not __fish_seen_subcommand_from $(__scriptura_print $SCRIPTURA_ROOT)' \ --arguments '$(__scriptura_complete $SCRIPTURA_ROOT)' complete --command scriptura \ --condition '__fish_seen_subcommand_from $(__scriptura_print $SCRIPTURA_ROOT)' \ --condition 'not __scriptura_seen_script $(commandline -xpc)' \ --condition 'not __fish_seen_argument --short n --long new' \ --arguments '$(__scriptura_complete $SCRIPTURA_ROOT $(commandline -xpc))' complete --command scriptura \ --condition '__scriptura_seen_script $(commandline -xpc)' \ --force-files