.xinitrc
changeset 56 47272014a49a
parent 38 76d2bf3ac7c3
child 123 05fbac105c1d
--- a/.xinitrc	Sat Apr 03 11:09:46 2010 +0300
+++ b/.xinitrc	Thu Apr 15 21:34:06 2010 +0300
@@ -7,7 +7,10 @@
 # Because of bug in xorg invoking setxkbmap cause disable repeat char when key pressed.
 # setxkbmap -rules xorg -model pc104 -layout "us,ru" -option "grp:rwin_toggle,grp_led:scroll" &
 
-fvwm &
+# Don't use fvwm under Cygwin.
+if [ -z "$COMSPEC" ]; then
+  fvwm &
+fi
 
 # Last command.
 exec xterm -e bash -i