bash_aliases: add winpython alias for cygwin
This commit is contained in:
parent
585b6ecfeb
commit
ef0e252883
@ -185,6 +185,15 @@ if [ -e /bin/cygwin1.dll ]; then
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
function winpython
|
||||||
|
{
|
||||||
|
local winpython=/c/Python27/python.exe
|
||||||
|
if [[ "$1" == "" ]]; then
|
||||||
|
${winpython} -i
|
||||||
|
else
|
||||||
|
${winpython} "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# source any machine-local aliases
|
# source any machine-local aliases
|
||||||
|
Loading…
x
Reference in New Issue
Block a user