zsh: Reorder zshrc components and move stuff
Put the external plugins to the end as well as z-sy-h to the end of the plugins. Put the last remaining lines in the zshrc in their own modules.
This commit is contained in:
1
.config/zsh/zshrc.d/90-external-plugins/10-powerlevel10k
Symbolic link
1
.config/zsh/zshrc.d/90-external-plugins/10-powerlevel10k
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/powerlevel10k/powerlevel10k.zsh-theme
|
||||
1547
.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme
Normal file
1547
.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme
Normal file
File diff suppressed because it is too large
Load Diff
1
.config/zsh/zshrc.d/90-external-plugins/20-autosuggestions
Symbolic link
1
.config/zsh/zshrc.d/90-external-plugins/20-autosuggestions
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
1
.config/zsh/zshrc.d/90-external-plugins/40-fzf-tab
Symbolic link
1
.config/zsh/zshrc.d/90-external-plugins/40-fzf-tab
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/fzf-tab-fork/fzf-tab.zsh
|
||||
1
.config/zsh/zshrc.d/90-external-plugins/50-fzf-key-bindings
Symbolic link
1
.config/zsh/zshrc.d/90-external-plugins/50-fzf-key-bindings
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/fzf/shell/key-bindings.zsh
|
||||
1
.config/zsh/zshrc.d/90-external-plugins/60-stderred
Symbolic link
1
.config/zsh/zshrc.d/90-external-plugins/60-stderred
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/stderred/usr/share/stderred/stderred.sh
|
||||
@@ -0,0 +1,4 @@
|
||||
# Bold red
|
||||
export STDERRED_ESC_CODE="$(tput bold && tput setaf 1)"
|
||||
|
||||
export STDERRED_BLACKLIST="^(git|curl|wget|swipl)$"
|
||||
1
.config/zsh/zshrc.d/90-external-plugins/70-direnv
Normal file
1
.config/zsh/zshrc.d/90-external-plugins/70-direnv
Normal file
@@ -0,0 +1 @@
|
||||
! command -v direnv &>/dev/null || eval "$(direnv hook zsh)"
|
||||
1
.config/zsh/zshrc.d/90-external-plugins/90-syntax-highlighting
Symbolic link
1
.config/zsh/zshrc.d/90-external-plugins/90-syntax-highlighting
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
@@ -0,0 +1,30 @@
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
|
||||
## colors: 0-7 standard, 8-15 high-intensity
|
||||
|
||||
## red
|
||||
ZSH_HIGHLIGHT_STYLES[bracket-error]='fg=009,bold'
|
||||
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=009,bold'
|
||||
## green
|
||||
ZSH_HIGHLIGHT_STYLES[arg0]='fg=076'
|
||||
ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=076,underline'
|
||||
ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=076,bold'
|
||||
ZSH_HIGHLIGHT_STYLES[precommand]='fg=076,underline'
|
||||
## blue
|
||||
ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=012,bold'
|
||||
## yellow
|
||||
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=011'
|
||||
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=011'
|
||||
ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=011,bold'
|
||||
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=011'
|
||||
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=011'
|
||||
ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=011,underline'
|
||||
## cyan
|
||||
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=014'
|
||||
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=014'
|
||||
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=014'
|
||||
ZSH_HIGHLIGHT_STYLES[bracket-level-5]='fg=014,bold'
|
||||
ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=014'
|
||||
## black/dark grey
|
||||
ZSH_HIGHLIGHT_STYLES[comment]='fg=008,bold'
|
||||
## magenta
|
||||
ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=13,bold'
|
||||
Reference in New Issue
Block a user