@ -171,7 +171,7 @@ sudo-command-line() {
if [[ $BUFFER == ${__zsh_sudo_cmd}\ * ]]; then
LBUFFER="${LBUFFER#${__zsh_sudo_cmd} }"
else
LBUFFER="${__zsh_sudo_cmd} $LBUFFER"
LBUFFER="${__zsh_sudo_cmd} ${LBUFFER}"
fi
}
zle -N sudo-command-line
The note is not visible to the blocked user.