From 8f554e2b8af99e034412278ab61df6eb16795a5b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 2 Apr 2011 18:27:43 -0400 Subject: [PATCH] unify default PATH, improve jtag prompt, and up proc limit --- .bashrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index 1861967..a6569f9 100644 --- a/.bashrc +++ b/.bashrc @@ -5,15 +5,18 @@ for sh in ~/.profile.d/*.sh ; do done unset sh -PATH=/sbin:/usr/sbin:${PATH}:/usr/games/bin -for p in /usr/lib*/ccache /usr/lib*/ccache/*/ ~/.bin/ ; do +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 +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} @@ -32,4 +35,4 @@ eval `dircolors 2>/dev/null` 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 300 +ulimit -u 600 -- 2.39.2