diff --git a/init.zsh b/init.zsh index e0ed498..6a4f3e5 100644 --- a/init.zsh +++ b/init.zsh @@ -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