X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bashrc;h=7293877205e9c411b08ee55a2a4c103f10d075a9;hb=3290ed022dc39bd89a498b2e9362af6cc6b56117;hp=2c60c06a954591df5d46dfb878b8cb3ebf8e9a7b;hpb=95c01d799d2afb278e5801404f178e4b5f0e3072;p=home.git diff --git a/.bashrc b/.bashrc index 2c60c06..7293877 100644 --- a/.bashrc +++ b/.bashrc @@ -1,21 +1,39 @@ +umask 0022 + for sh in ~/.profile.d/*.sh ; do . "$sh" done +unset sh + +for p in /sbin /usr/sbin /usr/games/bin /usr/lib*/ccache /usr/lib*/ccache/*/ ~/.bin ; do + case :$PATH: in *:$p:*) continue;; esac + [ -d "${p}" ] && PATH=${p}:$PATH +done +unset p -export PATH=/usr/lib/ccache/bin:/sbin:/usr/sbin:${PATH}:/usr/games/bin:~/.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 HISTCONTROL=ignoreboth export HISTFILESIZE=10000 export HISTSIZE=${HISTFILESIZE} export LESS="-R --tabs=4 -M -#10" export LESSCOLOR=0 +unset LDPATH # KDE bs -eval `dircolors` +shopt -s checkwinsize + +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 +ulimit -u 600