From ce14a9aaf72eb6d7ca20d1ec3c0abe2b78c2cafe Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 18 Apr 2012 12:19:58 +0900 Subject: [PATCH] fix iswindows --- bashrc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/bashrc b/bashrc index dfd3720..d79db1f 100755 --- a/bashrc +++ b/bashrc @@ -5,19 +5,13 @@ alias ismsys=false alias iscygwin=false -alias iswindows=false +alias iswindows="(ismsys || iscygwin)" alias isdarwin=false alias islinux=false case `uname` in - (MINGW*) - alias ismsys=true - alias iswindows=true - ;; - (CYGWIN*) - alias iscygwin=true - alias iswindows=true - ;; + (MINGW*) alias ismsys=true ;; + (CYGWIN*) alias iscygwin=true ;; (Darwin*) alias isdarwin=true ;; (Linux*) alias islinux=true ;; esac