Zpython got renamed to libzpython

Not that I wanted this: cmake cannot be told I do not want `lib` prefix. `zsh/` 
prefix in any case should have been removed: zpython is not pretending it is 
a part of zsh now. Keeping old name for those who are still using zpython branch 
(i.e. nearly everybody since zpython got moved less then an hour ago).
This commit is contained in:
ZyX 2014-06-13 03:49:42 +04:00
parent b145b7064f
commit 2c210bb649

View File

@ -107,7 +107,7 @@ _powerline_setup_prompt() {
fi
done
precmd_functions+=( _powerline_set_jobnum )
if zmodload zsh/zpython &>/dev/null ; then
if zmodload libzpython &>/dev/null || zmodload zsh/zpython &>/dev/null ; then
zpython 'from powerline.bindings.zsh import setup as _powerline_setup'
zpython '_powerline_setup()'
zpython 'del _powerline_setup'