DELETED config/fish/functions/bmake.fish Index: config/fish/functions/bmake.fish ================================================================== --- config/fish/functions/bmake.fish +++ config/fish/functions/bmake.fish @@ -1,8 +0,0 @@ -# pkgsrc does not like MAKEFLAGS being set -function bmake - if string match -q -r '/pkgsrc$|/pkgsrc/' $PWD - env MAKEFLAGS= bmake $argv - else - command bmake $argv - end -end ADDED config/fish/functions/make.fish Index: config/fish/functions/make.fish ================================================================== --- config/fish/functions/make.fish +++ config/fish/functions/make.fish @@ -0,0 +1,9 @@ +# Automatically use bmake instead of make when using pkgsrc +function make + if which bmake >/dev/null && string match -q -r '/pkgsrc$|/pkgsrc/' $PWD + # pkgsrc does not like MAKEFLAGS including -j + env MAKEFLAGS= bmake $argv + else + command make $argv + end +end