Overview
Comment: | zshrc: Don't assume sysctl is in PATH |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
eea675806851c864c99c664a7c46bcfc |
User & Date: | js 2022-12-22 02:25:03 |
Context
2022-12-22
| ||
04:47 | xinitrc: Remove debug line check-in: 72f4cc98f7 user: js tags: trunk | |
02:25 | zshrc: Don't assume sysctl is in PATH check-in: eea6758068 user: js tags: trunk | |
00:35 | vimrc: Restore compatibility with Vim 7 check-in: ee8d8f37b0 user: js tags: trunk | |
Changes
Changes to zshrc.
︙ | ︙ | |||
220 221 222 223 224 225 226 | __has_command vim && alias vi=vim __has_command gpg2 && alias gpg=gpg2 if [ "$(uname -s)" = "Darwin" ]; then export MAKEFLAGS="-j$(($(sysctl -n machdep.cpu.thread_count) * 2))" elif [ "$(uname -s)" = "NetBSD" ]; then | | | 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | __has_command vim && alias vi=vim __has_command gpg2 && alias gpg=gpg2 if [ "$(uname -s)" = "Darwin" ]; then export MAKEFLAGS="-j$(($(sysctl -n machdep.cpu.thread_count) * 2))" elif [ "$(uname -s)" = "NetBSD" ]; then export MAKEFLAGS="-j$(($(/sbin/sysctl -n hw.ncpu) * 2))" elif __has_command nproc; then export MAKEFLAGS="-j$(($(nproc) * 2))" fi make() { case "$PWD" in # pkgsrc needs bmake and does not like MAKEFLAGS including -j. |
︙ | ︙ |