]> git.wh0rd.org - home.git/blobdiff - .bashrc
crostini-vapier-setup: helper for setting up new installs
[home.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 7ae9b50a83ee3943c46d1c675d5b57e474fbf6ff..dd8b4002e080f2b4cf63214d8465fee8e17d43f8 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -5,7 +5,7 @@ for sh in ~/.profile.d/{.pre,*}.sh ; do
 done
 unset sh
 
-path_prepend /sbin /usr/sbin /usr/games/bin /usr/lib*/ccache /usr/lib*/ccache/*/ ~/.bin
+path_prepend /sbin /usr/sbin /usr/games/bin /usr/lib*/ccache /usr/lib*/ccache/*/ ~/.bin ~/.local/bin ~/.cargo/bin
 
 . ~/.profile.d/.post.sh
 
@@ -35,4 +35,5 @@ shopt -s no_empty_cmd_completion
 export GTK2_RC_FILES="$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc"
 
 ulimit -c $(( 512 * 1024 )) # units of KiB
-ulimit -u $(( 500 * $(getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1) ))
+# Chrome creates a shit ton of procs/threads now.
+ulimit -u $(( 1000 * $(getconf _NPROCESSORS_CONF 2>/dev/null || echo 1) )) 2>/dev/null