all repos — scriptura @ v0.0.2

a corner in $HOME for your scripts

functions/__scriptura_which.fish (view raw)

1
2
3
4
5
6
7
function __scriptura_which --argument-names script_path
    if path is --type file --perm exec $script_path
        echo $script_path
    else
        return 1
    end
end