From d61e758c1c21bec09b163fb0cae7d9959a645501 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 10 Sep 2024 02:16:14 -0700 Subject: [PATCH] Clean up init.zsh --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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