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:
parent
b22ae1cbd6
commit
707fca2d11
@ -15,6 +15,8 @@ sudo-command-line() {
|
|||||||
else
|
else
|
||||||
LBUFFER="sudo $LBUFFER"
|
LBUFFER="sudo $LBUFFER"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
_zsh_highlight
|
||||||
}
|
}
|
||||||
zle -N sudo-command-line
|
zle -N sudo-command-line
|
||||||
# Defined shortcut keys: [Esc] [Esc]
|
# Defined shortcut keys: [Esc] [Esc]
|
||||||
|
3
.zshrc
3
.zshrc
@ -123,6 +123,3 @@ source "$DOTFILES/aliases"
|
|||||||
# Load some manual plugins
|
# Load some manual plugins
|
||||||
source "$ZSH_DIR/plugins/sudo.zsh"
|
source "$ZSH_DIR/plugins/sudo.zsh"
|
||||||
source "$ZSH_DIR/plugins/fish-theme.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"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user