functions/__scriptura_list.fish (view raw)
1 2 3 4 5 6 7 8 | function __scriptura_list --argument-names from
for dir in $(path filter --type dir $from/*)
printf "%-12s -- %-64s\n" "$(path basename $dir) ..." $(__scriptura_help $dir)
end
for file in $(path filter --type file --perm exec $from/*)
printf "%-12s -- %-64s\n" $(path basename $file) $(__scriptura_help $file)
end
end
|