Use different emulate call

Ref #389
This commit is contained in:
ZyX 2013-04-05 17:47:39 +04:00
parent 2685f61e88
commit 47eef9860f

View File

@ -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