X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bashrc;h=041297e958ded0de7af67b32f1a383768e52d0a8;hb=df244c911fe0ddf4f909e34a9f48fb0bd7a0d526;hp=bb72b0b42b0570e1b555eae34856db34bb2111ea;hpb=1afdf944dcef65ad2bab01e5a07756da28024503;p=home.git diff --git a/.bashrc b/.bashrc index bb72b0b..041297e 100644 --- a/.bashrc +++ b/.bashrc @@ -1,21 +1,39 @@ -for sh in ~/.profile.d/*.sh ; do +umask 0022 + +for sh in ~/.profile.d/{.pre,*}.sh ; do . "$sh" done +unset sh + +path_prepend /sbin /usr/sbin /usr/games/bin /usr/lib*/ccache /usr/lib*/ccache/*/ ~/.bin ~/.local/bin ~/.cargo/bin + +. ~/.profile.d/.post.sh -export PATH=/usr/lib/ccache/bin:/sbin:/usr/sbin:${PATH}:/usr/games/bin +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 HISTFILESIZE=10000 +export HISTCONTROL=ignoreboth +export HISTFILESIZE=30000 export HISTSIZE=${HISTFILESIZE} export LESS="-R --tabs=4 -M -#10" export LESSCOLOR=0 +unset LDPATH # KDE bs -eval `dircolors` +shopt -s checkwinsize +shopt -s no_empty_cmd_completion + +[ "${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 $(( 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