summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-08-15 15:55:24 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-08-15 16:18:39 -0700
commit5467841399e02e8713ec11e2f57b9745a314020c (patch)
tree52100939ee7ab82ae7497018774603d957b388e4 /home/xyz/.profile
parent5fe1225deaf17c804230bc4ff2692c83969ab141 (diff)
ca `nproc --all` report wrong cpu thread count
ca actual cpu threads are 3, `nproc --all` wrongly report as 128. I tested on all my computers and it seems nproc output is fine. Weird thing is only ca report nproc and `nproc --all` differently. Anyway, I just use nproc instead.
Diffstat (limited to 'home/xyz/.profile')
-rw-r--r--home/xyz/.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index 02db6e72..4b95c04b 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -44,7 +44,7 @@ export INPUTRC="$XDG_CONFIG_HOME/.inputrc"
export CLICOLOR=1
# for pacdiff, without using aur neovim-drop-in or neovim-symlinks
export DIFFPROG='nvim -d'
-export MAKEFLAGS="-j$(nproc --all)"
+export MAKEFLAGS="-j$(nproc)"
# use sudo find for some files or dirs that has no permission ex: ~/.cache/paru/clone/
#export FZF_DEFAULT_COMMAND="fd --no-ignore --hidden --exclude .git"
#export FZF_CTRL_T_COMMAND="fd --absolute-path --no-ignore --hidden --exclude .git"