From 8c337abaaab609f6e9547695d5f6eef0320fcfd8 Mon Sep 17 00:00:00 2001 From: 10sr Date: Wed, 21 Sep 2011 02:03:27 +0900 Subject: [PATCH] .bashrc: add func ismsys() and iscygwin() --- .bashrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index ff0c3a6..de7f158 100755 --- a/.bashrc +++ b/.bashrc @@ -195,9 +195,13 @@ iswindows(){ uname | grep -iE 'windows|MINGW' >/dev/null 2>&1 } -ismsys(){} +ismsys(){ + : +} -iscygwin(){} +iscygwin(){ + : +} isdarwin(){ uname | grep -E 'Darwin' >/dev/null 2>&1 @@ -249,3 +253,4 @@ safe-exec diskinfo finger $USER LANG=C id +