mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
parent
ea4854dba3
commit
f8bf8f0029
@ -96,7 +96,7 @@ sudo-command-line() {
|
|||||||
LBUFFER="${WHITESPACE}${LBUFFER}"
|
LBUFFER="${WHITESPACE}${LBUFFER}"
|
||||||
|
|
||||||
# Redisplay edit buffer (compatibility with zsh-syntax-highlighting)
|
# Redisplay edit buffer (compatibility with zsh-syntax-highlighting)
|
||||||
zle redisplay
|
zle && zle redisplay # only run redisplay if zle is enabled
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user