summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-07-21 16:05:54 -0500
committerzachir <zachir@librem.one>2025-07-21 16:05:54 -0500
commit93390102e1c4a5027dbf45584fc26cd4f307094b (patch)
tree58e3300305445770ea3a5c50e1fe7dad5a874899 /zsh
parent3e9a0b3eb3926de7a04be493300fa105229a2b2e (diff)
parent4b766c45c32489d47af59a9d9b43c92857e321e8 (diff)
Merge remote-tracking branch 'origin/master' into cas
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshenv (renamed from zsh/zshenv)0
-rw-r--r--zsh/.zshrc (renamed from zsh/zshrc)10
2 files changed, 7 insertions, 3 deletions
diff --git a/zsh/zshenv b/zsh/.zshenv
index 3719ef4..3719ef4 100644
--- a/zsh/zshenv
+++ b/zsh/.zshenv
diff --git a/zsh/zshrc b/zsh/.zshrc
index 09a5e32..791b5d1 100644
--- a/zsh/zshrc
+++ b/zsh/.zshrc
@@ -68,7 +68,7 @@ zle -N zle-line-init
zle -N zle-keymap-select
export KEYTIMEOUT=1
-fpath+="$XDG_CONFIG_HOME/zsh/zfunc"
+#fpath+="$XDG_CONFIG_HOME/zsh/zfunc"
if [ -n "$ZPLUG_INSTALLED" ]; then
# zsh history substring search
@@ -88,8 +88,12 @@ if [ -n "$ZPLUG_INSTALLED" ]; then
zplug load
fi
-autoload -Uz compinit
-compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
+autoload -Uz compinit
+if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then
+ compinit
+else
+ compinit -C;
+fi;
zstyle ':completion:*' hosts off