blob: bac2bd73223445b3895152f8b089714a6795fa96 (
plain)
1
2
3
4
5
6
7
|
function __fish_print_commands --description "Print a list of documented fish commands"
if test -d $__fish_datadir/man/man1/
for file in $__fish_datadir/man/man1/**.1*
string replace -r '.*/' '' -- $file | string replace -r '.1(.gz)?$' ''
end
end
end
|