Merge branch 'new-zpython-name' into develop

This commit is contained in:
ZyX 2014-06-13 03:51:09 +04:00
commit edbcb5a1f1

View File

@ -107,7 +107,7 @@ _powerline_setup_prompt() {
fi fi
done done
precmd_functions+=( _powerline_set_jobnum ) 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 'from powerline.bindings.zsh import setup as _powerline_setup'
zpython '_powerline_setup()' zpython '_powerline_setup()'
zpython 'del _powerline_setup' zpython 'del _powerline_setup'