all repos — scriptura @ 1ec690340ff66e93e6a54be54fc2f0f3bc3c239b

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