Browse Source

Do not setopt LOCAL_OPTIONS in set-titles-with-command

emulate -L zsh sets LOCAL_OPTIONS and LOCAL_TRAPS
master
Sorin Ionescu 12 years ago
parent
commit
6b0b6c2f9a
  1. 2
      modules/terminal/init.zsh

2
modules/terminal/init.zsh

@ -48,7 +48,7 @@ function set-titles-with-command { @@ -48,7 +48,7 @@ function set-titles-with-command {
fi
emulate -L zsh
setopt LOCAL_OPTIONS EXTENDED_GLOB
setopt EXTENDED_GLOB
# Get the command name that is under job control.
if [[ "${1[(w)1]}" == (fg|%*)(\;|) ]]; then

Loading…
Cancel
Save