Fixed handling of wrong-logged "(laceno)" lines.
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 289d2e3..b4bce39 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -11,7 +11,12 @@ if [ -n "$_home_short_dotbashrc_norc" -o "${TERM#norc-}" != "$TERM" ];then
 fi
 
 if [ -z "$_home_short_dotbashrc" ];then
-       _home_short_dotbashrc=true
+       # We permit later reinitialization by unsetting it.
+       # During our execution we forbid spawning to prevent deadlock by:
+       #       source /etc/bashrc
+       #       . /etc/profile.d/lang.sh
+       #       unicode_start iso02.08
+       export _home_short_dotbashrc=true
        # $TERM gets restored to its 'norc-' state after ~/.bashrc
        # alias norc='TERM="norc-$TERM" ssh -t -o 'NoHostAuthenticationForLocalhost yes' $USER@localhost "cd $PWD; TERM=$TERM;"'
        function norc { TERM="norc-$TERM" ssh -t -o 'NoHostAuthenticationForLocalhost yes' $USER@localhost "cd $PWD; TERM=$TERM;" "$@"; }; export -f norc
@@ -212,7 +217,7 @@ function cpan {(unset cpan; if [ $# = 0 ];then cpan;else perl -MCPAN -e "install
 function exx { cd "`unset exx;exx "$@"|tee /proc/self/fd/2|tail -n1|sed -n 's/^extdir=//p'`"; };export -f exx
 function revlines { perl -e 'my @r=();push @r,$_ while (<>);print pop @r while @r;'; }; export -f revlines
 
-ulimit -c 0
+ulimit -S -c 0
 set +H
 shopt -s mailwarn
 unset OPTIND