.bashrc
changeset 32 031655c93305
parent 30 669c0e5c3f58
child 34 cddddb009921
--- 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