From 2c210bb649a65c43affbeefbbcbd27e38932da00 Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 13 Jun 2014 03:49:42 +0400 Subject: [PATCH] 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). --- powerline/bindings/zsh/powerline.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/bindings/zsh/powerline.zsh b/powerline/bindings/zsh/powerline.zsh index 47673f0f..37546902 100644 --- a/powerline/bindings/zsh/powerline.zsh +++ b/powerline/bindings/zsh/powerline.zsh @@ -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'