mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 15:37:24 +00:00
5 lines
217 B
Fish
5 lines
217 B
Fish
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
|