1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00

unposted: make sure localtraps is unset before setting TRAPWINCH.

This commit is contained in:
Bart Schaefer 2007-10-14 16:35:10 +00:00
parent 9b33f07e10
commit a266a85f7b

View file

@ -137,7 +137,7 @@ prompt_bart_ps1 () {
} }
prompt_bart_winch () { prompt_bart_winch () {
setopt localoptions noksharrays unset setopt localoptions nolocaltraps noksharrays unset
# Delete ourself from TRAPWINCH if not using our precmd insert. # Delete ourself from TRAPWINCH if not using our precmd insert.
[[ $functions[precmd] = *prompt_bart_precmd* ]] && prompt_bart_ps1 || [[ $functions[precmd] = *prompt_bart_precmd* ]] && prompt_bart_ps1 ||
@ -145,7 +145,7 @@ prompt_bart_winch () {
} }
prompt_bart_setup () { prompt_bart_setup () {
setopt localoptions noksharrays unset setopt localoptions nolocaltraps noksharrays unset
# A few extra niceties ... # A few extra niceties ...
repeat 1 case "$1:l" in repeat 1 case "$1:l" in