Fix the recently accidentally disabled patch subdownloading part.
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 2cec0f7..858d2e7 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -70,6 +70,8 @@ function _bash_profile_addpath_fini
 # 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"
@@ -194,7 +196,7 @@ export HISTFILESIZE="$HISTSIZE"
 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]"
@@ -254,7 +256,7 @@ function ctags {(unset ctags
        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"  \
@@ -364,6 +366,7 @@ function rpmsrclist
        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
@@ -375,6 +378,10 @@ if [ -f "$HOME/.bashrc.local" ];then source "$HOME/.bashrc.local";fi
 
 # 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.