all repos — scriptura @ baa93ca20f6525c97091d5ece5861d4526b5591c

a corner in $HOME for your scripts

re-work to use subcommands instead of flags

Alin
commit

baa93ca20f6525c97091d5ece5861d4526b5591c

parent

ad7bee32729173b5eba713b81cd01e2f030d0c36

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

changed files
A functions/__scriptura_run.fish
@@ -0,0 +1,12 @@
+function __scriptura_run --argument-names target + if path is --perm exec $target + set --export SCRIPTURA_ROOT $SCRIPTURA_ROOT + set --export SD (path dirname $target) + $target $argv[2..] + return $status + else + echo "scriptura: $target is not executable" >&2 + __scriptura_cat $target + return $status + end +end