Browse Source

.bashrc: add func ismsys() and iscygwin()

pull/1/head
10sr 13 years ago
parent
commit
8c337abaaa
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      .bashrc

+ 7
- 2
.bashrc View File

@@ -195,9 +195,13 @@ iswindows(){
uname | grep -iE 'windows|MINGW' >/dev/null 2>&1 uname | grep -iE 'windows|MINGW' >/dev/null 2>&1
} }


ismsys(){}
ismsys(){
:
}


iscygwin(){}
iscygwin(){
:
}


isdarwin(){ isdarwin(){
uname | grep -E 'Darwin' >/dev/null 2>&1 uname | grep -E 'Darwin' >/dev/null 2>&1
@@ -249,3 +253,4 @@ safe-exec diskinfo
finger $USER finger $USER
LANG=C id LANG=C id




Loading…
Cancel
Save