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:
parent
9b33f07e10
commit
a266a85f7b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue