changeset 67:4510c8a9d8ec

[bash] We have cygwin!
author Edho Prima Arief <me@myconan.net>
date Sun, 22 May 2011 00:45:30 +0700
parents 21e3f6ea5d59
children d6e52e074962 babf62f1bba7
files bash
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bash	Tue May 17 13:34:54 2011 -0400
+++ b/bash	Sun May 22 00:45:30 2011 +0700
@@ -2,6 +2,7 @@
 
 [ -f .ecos_bash.before ] && . .ecos_bash.before
 
+_org_path="${PATH}"
 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
 
 PS1='[\u@\h \W]\$ '
@@ -46,6 +47,9 @@
       alias ls='colorls -F'
     fi
   ;;
+  CYGWIN*)
+    export PATH="${PATH}:${_org_path}"
+  ;;
 esac
 
 [ "${_has_rm_I}" = y ] && alias rm="rm -I"