mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 16:31:57 +00:00
Fix _p9k_precmd:trap:17: undefined signal: return (#695)
Signed-off-by: Olivier MARY <olivier@omary.fr>
This commit is contained in:
parent
94bbbc1ca8
commit
541d573551
1 changed files with 1 additions and 1 deletions
|
@ -6441,7 +6441,7 @@ _p9k_precmd() {
|
|||
|
||||
# See https://www.zsh.org/mla/workers/2020/msg00612.html for the reason behind __p9k_trapint.
|
||||
typeset -g __p9k_trapint='_p9k_trapint; return 130'
|
||||
trap $__p9k_trapint INT
|
||||
trap "$__p9k_trapint" INT
|
||||
}
|
||||
|
||||
function _p9k_reset_prompt() {
|
||||
|
|
Loading…
Reference in a new issue