mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-27 05:34:35 +00:00
Update locations for zsh extensions
This commit is contained in:
parent
7c6126f943
commit
0a1b8c1c41
47
home/.zshrc
47
home/.zshrc
|
@ -60,52 +60,7 @@ zstyle ':completion:::::' completer _expand _complete _ignored _approximate #ena
|
||||||
[ -f ~/.config/sh/theme ] && . ~/.config/sh/theme
|
[ -f ~/.config/sh/theme ] && . ~/.config/sh/theme
|
||||||
|
|
||||||
# Load extensions (should be last)
|
# Load extensions (should be last)
|
||||||
. /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null # Syntax highlighting
|
. /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null # Syntax highlighting
|
||||||
. /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null # Auto suggestions
|
. /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null # Auto suggestions
|
||||||
. /usr/share/autojump/autojump.zsh 2>/dev/null # Auto-Jump
|
. /usr/share/autojump/autojump.zsh 2>/dev/null # Auto-Jump
|
||||||
|
|
||||||
# Syntax highlighting features
|
|
||||||
if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
|
||||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
|
|
||||||
ZSH_HIGHLIGHT_STYLES[default]=none
|
|
||||||
ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=red,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=cyan,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[suffix-alias]=fg=green,underline
|
|
||||||
ZSH_HIGHLIGHT_STYLES[global-alias]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[precommand]=fg=green,underline
|
|
||||||
ZSH_HIGHLIGHT_STYLES[commandseparator]=fg=blue,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[autodirectory]=fg=green,underline
|
|
||||||
ZSH_HIGHLIGHT_STYLES[path]=underline
|
|
||||||
ZSH_HIGHLIGHT_STYLES[path_pathseparator]=
|
|
||||||
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]=
|
|
||||||
ZSH_HIGHLIGHT_STYLES[globbing]=fg=blue,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=blue,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[command-substitution]=none
|
|
||||||
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[process-substitution]=none
|
|
||||||
ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=none
|
|
||||||
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]=fg=blue,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=fg=yellow
|
|
||||||
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=fg=yellow
|
|
||||||
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]=fg=yellow
|
|
||||||
ZSH_HIGHLIGHT_STYLES[rc-quote]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]=fg=magenta
|
|
||||||
ZSH_HIGHLIGHT_STYLES[assign]=none
|
|
||||||
ZSH_HIGHLIGHT_STYLES[redirection]=fg=blue,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[comment]=fg=black,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[named-fd]=none
|
|
||||||
ZSH_HIGHLIGHT_STYLES[numeric-fd]=none
|
|
||||||
ZSH_HIGHLIGHT_STYLES[arg0]=fg=green
|
|
||||||
ZSH_HIGHLIGHT_STYLES[bracket-error]=fg=red,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[bracket-level-1]=fg=blue,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[bracket-level-2]=fg=green,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[bracket-level-3]=fg=magenta,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[bracket-level-4]=fg=yellow,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[bracket-level-5]=fg=cyan,bold
|
|
||||||
ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]=standout
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue