Do not setopt LOCAL_OPTIONS in set-titles-with-command
emulate -L zsh sets LOCAL_OPTIONS and LOCAL_TRAPS
This commit is contained in:
parent
d48a162366
commit
6b0b6c2f9a
|
@ -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…
Reference in a new issue