Browse Source

fix iswindows

pull/1/head
10sr 12 years ago
parent
commit
ce14a9aaf7
1 changed files with 3 additions and 9 deletions
  1. +3
    -9
      bashrc

+ 3
- 9
bashrc View File

@@ -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


Loading…
Cancel
Save