add winpath alias for cygwin

This commit is contained in:
josh committed 2012-09-25 14:36:33 -04:00
1 parent fece6b4e29
commit 2f81c1a444
1 file changed
+1
+1
View File
@@ -194,6 +194,7 @@ if [ -e /bin/cygwin1.dll ]; then
${winpython} "$@"
fi
}
alias winpath="PATH=\"$(echo $PATH | sed -e 's/:/\n/g' | grep cygdrive | tr '\n' ':')\""
fi
# source any machine-local aliases