Open flying-sheep opened 9 years ago
Hi @flying-sheep,
Honestly, right now I'm not sure we are going to implement this. (I hope that real integration can be finished: https://github.com/ipython/ipython/issues/8489 ) For now, what about just using a bash script?
real_ipython=$(which ipython)
ipython() {
if [ -z $1 ]; then
ptipython
else
$real_ipython $@
fi;
}
I'm not sure we are going to implement this.
why not, if i may ask?
For now, what about just using a bash script?
jup, i’m using if [[ $# == 0 ]]
, but else basically what you posted
Hi, my brain is wired to type
ipython
instead ofptipython
, so I’d love to be able to simplyalias ipython=ptipython
sadly my second-most used ipython call,
ipython notebook
fails this way.i’d love to be able to type both
ipython
andipython notebook/nbconvert/...
and have it do the sensible thing.you can get a list of subcommands using: