add winpath alias for cygwin

This commit is contained in:
Josh Holtrop 2012-09-25 14:36:29 -04:00
parent fece6b4e29
commit 2f81c1a444

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