X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=.bashrc;h=1ef4c107f0f986a8cebeab0823707d2a636d6478;hb=923da166bbbdd8266ce6e6bd31fbf9776e030a9d;hp=4cf2f830b39a8f7c8b7c933b17b28017fbcafd29;hpb=4a40542bdd940f7b909aa24866e69b3a088253ac;p=nethome.git diff --git a/.bashrc b/.bashrc index 4cf2f83..1ef4c10 100644 --- a/.bashrc +++ b/.bashrc @@ -55,9 +55,13 @@ export LC_CTYPE=cs_CZ.ISO-8859-2 export PERL_MM_OPT="PREFIX=$HOME" export WWW_HOME="file:///home/short/.bookmarks.html" export GREP_OPTIONS="--binary-files=without-match --directories=skip" +[ -n "$PS1" ] && export PS1="`echo -en '\017'`$PS1" # set only in interactive sessions +export MINICOM="-m -c on" # metakeys+color +export HISTSIZE=100000 +export HISTFILESIZE="$HISTSIZE" -# even when LANG is set to "en_US" it is lethal - strcoll() starts to sort case-insensitively! -unset LANG +# Force strcoll() to sort case-sensitively! (empty/undef doesn't work) +export LC_COLLATE=C function cvsdiff { cvs diff "$@" 2>&1|pipebuf -q| less; }; export -f cvsdiff function cvsdiffi { cvs diff "$@" 2>&1|pipebuf -q|grep -v '^?'|less; }; export -f cvsdiffi