summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zsh_plugins.txt3
-rw-r--r--.config/zsh/.zshrc5
2 files changed, 5 insertions, 3 deletions
diff --git a/.config/zsh/.zsh_plugins.txt b/.config/zsh/.zsh_plugins.txt
index c1ebdef..4827f1b 100644
--- a/.config/zsh/.zsh_plugins.txt
+++ b/.config/zsh/.zsh_plugins.txt
@@ -4,4 +4,5 @@ romkatv/powerlevel10k path:powerlevel10k.zsh-theme
zsh-users/zsh-completions kind:fpath path:src
zsh-users/zsh-autosuggestions path:zsh-autosuggestions.zsh
-zdharma-continuum/fast-syntax-highlighting path:fast-syntax-highlighting.plugin.zsh
+catppuccin/zsh-syntax-highlighting path:themes/catppuccin_mocha-zsh-syntax-highlighting.zsh
+zsh-users/zsh-syntax-highlighting path:zsh-syntax-highlighting.plugin.zsh
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index fc8233d..c8344e8 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -6,7 +6,8 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
-local zdump="${XDG_CACHE_HOME}/zsh/zdump"
+local cache_path="${XDG_CACHE_HOME}/zsh"
+local zdump="${cache_path}/zdump"
local antidote_dir="${ZDOTDIR}/.antidote"
# bootstrap antidote
@@ -28,7 +29,7 @@ zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' menu 'select'
zstyle ':completion:*' squeeze-slashes 'true'
zstyle ':completion::*' use-cache 'true'
-zstyle ':completion::*' cache-path "$zdump"
+zstyle ':completion::*' cache-path "$cache_path"
# load plugins
antidote load