The following is a simple Bash function you can paste into your bashrc file to start Python/IPython depending on the context.
function python {
IPYTHON="/usr/bin/ipython"
PYTHON="/usr/bin/python"
if [[ -n $1 ]]; then
$PYTHON $@
elif [[ -e $IPYTHON ]]; then
$IPYTHON
else
$PYTHON
fi
}
Licensing information is available on the about page, for additional questions or comments feel free to contact me.