2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-30 05:43:33 +00:00
fish-shell/share/functions/__fish_print_commands.fish

6 lines
217 B
Fish
Raw Normal View History

function __fish_print_commands --description "Print a list of documented fish commands"
if test -d $__fish_datadir/man/man1/
find $__fish_datadir/man/man1/ -type f -name \*.1 -execdir basename '{}' .1 ';'
end
end