]> git.wh0rd.org - home.git/blobdiff - .bashrc
ddnuke: add fdisk+prompt to startup, and rough ETA
[home.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 26ac1129f6f5e07784a664f8468ef0d2047866ff..041297e958ded0de7af67b32f1a383768e52d0a8 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
 
@@ -16,7 +16,7 @@ unset s e
 export ECHANGELOG_USER="Mike Frysinger <vapier@gentoo.org>"
 export GCC_BOUNDS_OPTS=-no-message
 export HISTCONTROL=ignoreboth
-export HISTFILESIZE=10000
+export HISTFILESIZE=30000
 export HISTSIZE=${HISTFILESIZE}
 export LESS="-R --tabs=4 -M -#10"
 export LESSCOLOR=0
@@ -25,7 +25,7 @@ unset LDPATH # KDE bs
 shopt -s checkwinsize
 shopt -s no_empty_cmd_completion
 
-eval `dircolors 2>/dev/null`
+[ "${LS_COLORS:+set}" = "set" ] || eval "$(dircolors 2>/dev/null)"
 
 [ -r /usr/local/src/blackfin/bin/bfin-alias ] && . /usr/local/src/blackfin/bin/bfin-alias
 [ -r /usr/local/src/blackfin/git/toolchain/distribution/snapshots/bfin-alias ] && . /usr/local/src/blackfin/git/toolchain/distribution/snapshots/bfin-alias
@@ -35,4 +35,5 @@ eval `dircolors 2>/dev/null`
 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