configs  Check-in [a5517cfc6f]

Overview
Comment:fish: Allow using make instead of bmake for pkgsrc
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a5517cfc6f91b4632567016f4ba57e36066db0b55d8595be4b07026bf251e30f
User & Date: js on 2020-01-22 00:32:31
Other Links: manifest | tags
Context
2020-01-22
20:44
fish: Restore color after prompt check-in: efaabe0fb7 user: js tags: trunk
00:32
fish: Allow using make instead of bmake for pkgsrc check-in: a5517cfc6f user: js tags: trunk
2020-01-21
23:04
fish: Better prompt for root check-in: dc711ef8ab user: js tags: trunk
Changes

Deleted config/fish/functions/bmake.fish version [9fdaa3ab0d].

1
2
3
4
5
6
7
8
# 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 version [fabfef7469].



















>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
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