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 {
fi fi
emulate -L zsh emulate -L zsh
setopt LOCAL_OPTIONS EXTENDED_GLOB setopt EXTENDED_GLOB
# Get the command name that is under job control. # Get the command name that is under job control.
if [[ "${1[(w)1]}" == (fg|%*)(\;|) ]]; then if [[ "${1[(w)1]}" == (fg|%*)(\;|) ]]; then

Loading…
Cancel
Save