X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bashrc;h=dd8b4002e080f2b4cf63214d8465fee8e17d43f8;hb=5b76b1e6b8d332af8251a95a135ff9034b34feb8;hp=bfb9f45101c91937fe1b66bb71aae52b5b772b56;hpb=6615ef428349eabd34047dad6481943469bfe546;p=home.git diff --git a/.bashrc b/.bashrc index bfb9f45..dd8b400 100644 --- 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 @@ -25,7 +25,7 @@ unset LDPATH # KDE bs shopt -s checkwinsize shopt -s no_empty_cmd_completion -[ "${LS_COLORS+set}" = "set" ] || 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 @@ 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