all repos — scriptura @ a41c97c06c8d611555b6b34780138efdbdf170d4

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