mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
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:
parent
b145b7064f
commit
2c210bb649
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user