mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 07:44:36 +02:00
Merge branch 'new-zpython-name' into develop
This commit is contained in:
commit
edbcb5a1f1
@ -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