configs  make.fish at [6fc784e055]

File config/fish/functions/make.fish artifact 3fa00d1f43 part of check-in 6fc784e055


# Automatically use bmake instead of make when using pkgsrc
function make
	if which bmake >/dev/null ^&1 && \
	    string match -q -r '/pkgsrc$|/pkgsrc/' $PWD
		# pkgsrc does not like MAKEFLAGS including -j
		set -lx MAKEFLAGS
		command bmake $argv
	else
		command make $argv
	end
end