all repos — scriptura @ a6778d7afa62b41238d549ce40328047fb7c44a2

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