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