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} "$@" ${winpython} "$@"
fi fi
} }
alias winpath="PATH=\"$(echo $PATH | sed -e 's/:/\n/g' | grep cygdrive | tr '\n' ':')\""
fi fi
# source any machine-local aliases # source any machine-local aliases