bash_aliases: add winpython alias for cygwin

This commit is contained in:
josh committed 2012-07-11 13:40:10 -04:00
1 parent 585b6ecfeb
commit ef0e252883
1 file changed
+9
+9
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