all repos — scriptura @ v0.3.1

a corner in $HOME for your scripts

functions/__scriptura_subcommands.fish (view raw)

1
2
3
4
5
6
7
8
9
10
function __scriptura_subcommands --description 'List available subcommands'
    set --local from $SCRIPTURA_ROOT
    for arg in $argv
        if path is --type dir $from/$arg
            set --function from $from/$arg
        end
    end

    path basename $(path filter --type file,dir --perm exec $from/*)
end