zsh: Divide zshrc into zshrc.d
Move every file from plugins into zshrc.d as well as all bigger blobs in the zshrc into their own files there. Some stuff is still in there that I am not all too sure where it belongs. TODO: Move. Because all external plugins are now sourced over a symlink I had to create a fork of fzf-tab for now that supports that. See: https://github.com/Aloxaf/fzf-tab/pull/153
This commit is contained in:
1
.config/zsh/zshrc.d/50-external-plugins/10-powerlevel10k
Symbolic link
1
.config/zsh/zshrc.d/50-external-plugins/10-powerlevel10k
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/powerlevel10k/powerlevel10k.zsh-theme
|
||||
1547
.config/zsh/zshrc.d/50-external-plugins/15-powerlevel10k.theme
Normal file
1547
.config/zsh/zshrc.d/50-external-plugins/15-powerlevel10k.theme
Normal file
File diff suppressed because it is too large
Load Diff
1
.config/zsh/zshrc.d/50-external-plugins/20-autosuggestions
Symbolic link
1
.config/zsh/zshrc.d/50-external-plugins/20-autosuggestions
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
1
.config/zsh/zshrc.d/50-external-plugins/30-syntax-highlighting
Symbolic link
1
.config/zsh/zshrc.d/50-external-plugins/30-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'
|
||||
1
.config/zsh/zshrc.d/50-external-plugins/40-fzf-tab
Symbolic link
1
.config/zsh/zshrc.d/50-external-plugins/40-fzf-tab
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/fzf-tab-fork/fzf-tab.zsh
|
||||
1
.config/zsh/zshrc.d/50-external-plugins/50-fzf-key-bindings
Symbolic link
1
.config/zsh/zshrc.d/50-external-plugins/50-fzf-key-bindings
Symbolic link
@@ -0,0 +1 @@
|
||||
../../plugins/fzf/shell/key-bindings.zsh
|
||||
1
.config/zsh/zshrc.d/50-external-plugins/60-stderred
Symbolic link
1
.config/zsh/zshrc.d/50-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)$"
|
||||
Reference in New Issue
Block a user