X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.bashrc;h=e0726570f99dce9a2ef2cc59e812ca1d431066be;hb=4b19848e9dc979554a175f5a026643ae803f031b;hp=45107b488de1df19467534b675fd91e3b8905114;hpb=4f5b8fd5098797d88a322c659e99aaba16266ce2;p=nethome.git diff --git a/.bashrc b/.bashrc index 45107b4..e072657 100644 --- a/.bashrc +++ b/.bashrc @@ -150,6 +150,9 @@ unset LANG LANGUAGE `set|sed -n 's/^\(LC_[^=]*\)=.*$/\1/p'` export LANG=en_US.UTF-8 # Force strcoll() to sort case-sensitively! (empty/undef doesn't work) export LC_COLLATE=C +# Prevent: perl: warning: Setting locale failed. +# due to LC_COLLATE=C and LC_ALL=(unset) +export LC_ALL=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