X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bashrc;h=7293877205e9c411b08ee55a2a4c103f10d075a9;hb=3290ed022dc39bd89a498b2e9362af6cc6b56117;hp=858c3d635012cda4297d909fcbe0e315e2f4d587;hpb=5b61754dc15ad3f7c19e83aecc4a921e6f8fa5df;p=home.git diff --git a/.bashrc b/.bashrc index 858c3d6..7293877 100644 --- a/.bashrc +++ b/.bashrc @@ -1,16 +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 JTAG_PROMPT='jtag> ' +s=$'\001' e=$'\002' +export JTAG_PROMPT=$s''$e'jtag'$s''$e'>'$s''$e' ' +unset s e -export PATH=/sbin:/usr/sbin:${PATH} -export EDITOR=/bin/nano +export ECHANGELOG_USER="Mike Frysinger " +export GCC_BOUNDS_OPTS=-no-message +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