From c280a1845e9bd08cadac68a4513a2dff42f851fa Mon Sep 17 00:00:00 2001 From: AngeD Date: Tue, 10 Jan 2023 11:51:43 +0100 Subject: [PATCH] fix: compinit not loaded in .zshenv --- .config/zsh/.zshenv | 3 --- .config/zsh/.zshrc | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 9aca71d..ef6843d 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -13,9 +13,6 @@ export ZSH_CUSTOM="$ZDOTDIR/custom" export HISTFILE="$XDG_STATE_HOME/zsh_history" export ZLE_RPROMPT_INDENT=0 -mkdir -p "$XDG_CACHE_HOME/zsh" -compinit -d "$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION" - export LESSHISTFILE='-' export EDITOR='nvim' diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index e181742..67dba0c 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -6,6 +6,9 @@ plugins=(vi-mode colored-man-pages git gitignore) . "$ZSH"/oh-my-zsh.sh +mkdir -p "$XDG_CACHE_HOME/zsh" +compinit -d "$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION" + . "$ZDOTDIR"/.docker_aliases . "$ZDOTDIR"/.kubectl_aliases . "$ZDOTDIR"/.zsh_aliases