diff --git a/.config/zsh/plugins/sudo.zsh b/.config/zsh/plugins/sudo.zsh index 8f3d680..744e4ab 100644 --- a/.config/zsh/plugins/sudo.zsh +++ b/.config/zsh/plugins/sudo.zsh @@ -15,6 +15,8 @@ sudo-command-line() { else LBUFFER="sudo $LBUFFER" fi + + _zsh_highlight } zle -N sudo-command-line # Defined shortcut keys: [Esc] [Esc] diff --git a/.zshrc b/.zshrc index 24f4ec2..c26888c 100644 --- a/.zshrc +++ b/.zshrc @@ -123,6 +123,3 @@ source "$DOTFILES/aliases" # Load some manual plugins source "$ZSH_DIR/plugins/sudo.zsh" source "$ZSH_DIR/plugins/fish-theme.zsh" - -# Reload zsh-syntax-highlighting, because reasons -_- -source "$ADOTDIR/bundles/Tarrasch/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"