# EUID="`id -u 2>/dev/null || /usr/xpg4/bin/id -u 2>/dev/null || gid -u`"
_bash_profile_addpath -f PATH "/sbin"
_bash_profile_addpath -f PATH "/usr/sbin"
+_bash_profile_addpath -f PATH "/bin"
+_bash_profile_addpath -f PATH "/usr/bin"
[ $EUID -eq 0 ] && _bash_profile_addpath -f PATH "/usr/local/sbin"
_bash_profile_addpath -f PATH "/usr/local/bin"
_bash_profile_addpath -f MANPATH "/usr/X11R6/man"
export GDBHISTFILE="$HOME/.gdb_history"
export CVS_RSH="ssh"
export TZ=":/usr/share/zoneinfo/Europe/Prague"
-MAKEFLAGS=
+export MAKEFLAGS=
cpus="`getconf _NPROCESSORS_ONLN`"
if [ -n "$cpus" ];then
MAKEFLAGS="$MAKEFLAGS -j$[$cpus*3/2]"
if [ $# -ne 0 -a '(' $# -ne 1 -o "$1" '!=' "--c-types=+px" ')' ];then ctags "$@";else
find -name testsuite -prune -o -name .pc -prune -o -name .svn -prune -o \
-type f -a '!' -name tags -a '!' -name TAGS -a '(' -false \
- -o -name "*.[chC]" \
+ -o -name "*.[chCy]" \
-o -name "*.cc" \
-o -name "*.cxx" \
-o -name "*.java" \
fi
}
function valgrind {(unset valgrind;s=~/.python.valgrind;perl -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' </usr/share/doc/python-devel-2.*/valgrind-python.supp >$s;valgrind --suppressions=$s "$@";);}
+function yumupdate { yum makecache;yum -y update; }
ulimit -S -c 0
set +H
# Interactive part:
for key in $HOME/.ssh/id_dsa;do
+
+ # DISABLED now.
+ continue
+
[ -r "$key" ] || continue
# Do not: [ -n "$SSH_TTY" ] && continue
# as we may want foreign SSH keys too.