aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_print_commands.fish
blob: 21c0876d350109973c06ed9689be308722aaf4fc (plain)
1
2
3
4
5
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