bash_aliases: add winpython alias for cygwin

This commit is contained in:
Josh Holtrop 2012-07-11 13:40:10 -04:00
parent 585b6ecfeb
commit ef0e252883

View File

@ -185,6 +185,15 @@ if [ -e /bin/cygwin1.dll ]; then
shift
done
}
function winpython
{
local winpython=/c/Python27/python.exe
if [[ "$1" == "" ]]; then
${winpython} -i
else
${winpython} "$@"
fi
}
fi
# source any machine-local aliases