1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Hacky fix for sudo plugin and zsh-syn-hl

This commit is contained in:
Joe Groocock 2017-11-16 00:43:14 +00:00
parent b22ae1cbd6
commit 707fca2d11
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86
2 changed files with 2 additions and 3 deletions

View File

@ -15,6 +15,8 @@ sudo-command-line() {
else
LBUFFER="sudo $LBUFFER"
fi
_zsh_highlight
}
zle -N sudo-command-line
# Defined shortcut keys: [Esc] [Esc]

3
.zshrc
View File

@ -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"