X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bashrc;h=dd8b4002e080f2b4cf63214d8465fee8e17d43f8;hb=5b76b1e6b8d332af8251a95a135ff9034b34feb8;hp=8878081560d878aa34989d9bed124157cca9aa13;hpb=4e977b1e79dd4832504358e516afec44a579c687;p=home.git diff --git a/.bashrc b/.bashrc index 8878081..dd8b400 100644 --- a/.bashrc +++ b/.bashrc @@ -1,19 +1,20 @@ umask 0022 -for sh in ~/.profile.d/*.sh ; do +for sh in ~/.profile.d/{.pre,*}.sh ; do . "$sh" done unset sh -PATH=/sbin:/usr/sbin:${PATH}:/usr/games/bin -for p in /usr/lib*/ccache /usr/lib*/ccache/*/ ~/.bin/ ; do - [ -d "${p}" ] && PATH=${p}:$PATH -done -unset p +path_prepend /sbin /usr/sbin /usr/games/bin /usr/lib*/ccache /usr/lib*/ccache/*/ ~/.bin ~/.local/bin ~/.cargo/bin + +. ~/.profile.d/.post.sh + +s=$'\001' e=$'\002' +export JTAG_PROMPT=$s''$e'jtag'$s''$e'>'$s''$e' ' +unset s e export ECHANGELOG_USER="Mike Frysinger " export GCC_BOUNDS_OPTS=-no-message -export JTAG_PROMPT='jtag> ' export HISTCONTROL=ignoreboth export HISTFILESIZE=10000 export HISTSIZE=${HISTFILESIZE} @@ -22,13 +23,17 @@ export LESSCOLOR=0 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 # This line was appended by KDE # Make sure our customised gtkrc file is loaded. export GTK2_RC_FILES="$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc" -ulimit -c unlimited +ulimit -c $(( 512 * 1024 )) # units of KiB +# Chrome creates a shit ton of procs/threads now. +ulimit -u $(( 1000 * $(getconf _NPROCESSORS_CONF 2>/dev/null || echo 1) )) 2>/dev/null