From d109c45fef64114fa87b2853a28f0371cfe2b575 2012-08-27 18:17:19 From: Julian Taylor Date: 2012-08-27 18:17:19 Subject: [PATCH] fix pylab completion --- diff --git a/docs/examples/core/ipython-completion.bash b/docs/examples/core/ipython-completion.bash index ac0efe6..b6fe518 100644 --- a/docs/examples/core/ipython-completion.bash +++ b/docs/examples/core/ipython-completion.bash @@ -60,8 +60,18 @@ _ipython() COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 elif [[ ${prev} == "--pylab"* ]] || [[ ${prev} == "--gui"* ]]; then - _ipython_get_flags core.shellapp InteractiveShellApp.pylab.values - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + if [ -z "$__ipython_complete_pylab" ]; then + __ipython_complete_pylab=$(cat <