aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_print_function_prototypes.fish
blob: 14871352331dbba7e80fd55b1af4ab62c5d15f62 (plain)
1
2
3
4
5

function __fish_print_function_prototypes -d "Prints the names of all function prototypes found in the headers in the current directory"
	cat *.h*|sed -n "s/^\(.*[^[a-zA-Z_0-9]\|\)\([a-zA-Z_][a-zA-Z_0-9]*\) *(.*);.*\$/\2/p"
end