1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 08:00:06 +00:00
This commit is contained in:
romkatv 2019-11-13 15:08:48 +01:00
parent cce9cf08e3
commit a1127fa3a7

View file

@ -5586,7 +5586,7 @@ _p9k_init() {
fi fi
if (( $+functions[iterm2_precmd] )); then if (( $+functions[iterm2_precmd] )); then
_p9k__iterm2_precmd=$functions[iterm2_precmd] _p9k__iterm2_precmd=$functions[iterm2_precmd]
functions[iterm2_precmd]='local _p9k_status=$?; zle || return; () { return $_p9k_status; }; '$_p9k__iterm2_precmd functions[iterm2_precmd]='local _p9k_status=$?; zle && return; () { return $_p9k_status; }; '$_p9k__iterm2_precmd
fi fi
if _p9k_segment_in_use todo; then if _p9k_segment_in_use todo; then