# HG changeset patch # User Oleksandr Gavenko # Date 1268742074 -7200 # Node ID 031655c933051e2962e3ea8ceb89d67f4a9b65e2 # Parent 4f492a0583cc2b2005bcf438671410a89555187f Special case for CYGWIN to properly display russian letters in rxvt. diff -r 4f492a0583cc -r 031655c93305 .bashrc --- a/.bashrc Mon Mar 15 00:20:25 2010 +0200 +++ b/.bashrc Tue Mar 16 14:21:14 2010 +0200 @@ -80,3 +80,10 @@ # canonicalize path (including resolving symlinks) # alias realpath='readlink -f' + +# Special case for CYGWIN to properly display russian letters in rxvt. +if [ -n "$COMSPEC" ]; then + if [ x$OSTYPE = xcygwin ]; then + export LANG=ru_RU.CP1251 + fi +fi