From d9660210c806dd96cd979c901afd870eeacf4fe9 2013-04-13 05:17:19 From: Nathan Goldbaum Date: 2013-04-13 05:17:19 Subject: [PATCH] Completion: Adding preliminary zsh support. --- diff --git a/examples/core/ipython-completion.bash b/examples/core/ipython-completion.bash index 9d6d1c7..4522542 100644 --- a/examples/core/ipython-completion.bash +++ b/examples/core/ipython-completion.bash @@ -1,5 +1,9 @@ # load with: . ipython-completion.bash +if [[ -n ${ZSH_VERSION-} ]]; then + autoload -Uz bashcompinit && bashcompinit +fi + _ipython_get_flags() { local url=$1