From 93624e341d1205dfaca5f67f053885dd9994b37b Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sat, 24 Aug 2024 08:01:46 -0700 Subject: [PATCH] zshenv: misc cleanups --- zshenv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zshenv b/zshenv index bee82e7..21a464c 100644 --- a/zshenv +++ b/zshenv @@ -1,10 +1,11 @@ +# /etc/zsh/zshenv # zsh environment variables export XDG_CACHE_HOME="$HOME/.cache" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_STATE_HOME="$HOME/.local/state" -export EDITOR='nvim' +export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" # Shell settings export HISTCONTROL="ignoredups"