configs  Diff

Differences From Artifact [9f4f589aaf]:

To Artifact [332e22e1f9]:


215
216
217
218
219
220
221


222
223
224
225
226
227
228
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230







+
+







for ext in 7z lha tar tbz tbz2 tar.bz2 tgz tar.gz txz tar.xz rar zip bz2 gz xz
do
	alias -s "$ext=extr"
done

__has_command vim && alias vi=vim
__has_command gpg2 && alias gpg=gpg2

__has_command nproc && export MAKEFLAGS="-j$(($(nproc) * 2))"

make() {
	case "$PWD" in
		# pkgsrc needs bmake and does not like MAKEFLAGS including -j.
		*/pkgsrc*)
			MAKEFLAGS= =$(__find_command bmake make) $@
			;;