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