From 47eef9860f0e6f89d66e1737a42726056b6b5182 Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 5 Apr 2013 17:47:39 +0400 Subject: [PATCH] Use different emulate call Ref #389 --- powerline/bindings/zsh/powerline.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/powerline/bindings/zsh/powerline.zsh b/powerline/bindings/zsh/powerline.zsh index 0b62aae6..a45a6657 100644 --- a/powerline/bindings/zsh/powerline.zsh +++ b/powerline/bindings/zsh/powerline.zsh @@ -14,14 +14,13 @@ _powerline_tmux_set_columns() { } _powerline_install_precmd() { - emulate -L zsh + emulate zsh for f in "${precmd_functions[@]}"; do if [[ "$f" = "_powerline_precmd" ]]; then return fi done chpwd_functions+=( _powerline_tmux_set_pwd ) - setopt nolocaloptions setopt promptpercent setopt promptsubst if zmodload zsh/zpython &>/dev/null ; then