From 780660e512bcac132d3a446a630c3eb8e23e3080 Mon Sep 17 00:00:00 2001 From: self Date: Sun, 6 Nov 2022 21:59:06 +0000 Subject: Moved various envvars from zshenv to zshrc so they work --- zsh/.zshenv | 12 ------------ zsh/.zshrc | 8 +++++++- 2 files changed, 7 insertions(+), 13 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshenv b/zsh/.zshenv index 80450cf..e2248c9 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -36,18 +36,6 @@ export WGETRC="$XDG_CONFIG_HOME/wgetrc" export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history -# orgd -export WRITTEN="$HOME/docs/wr" -export ORGD_ROOT="$WRITTEN/orgd" - -export ORGD_TD_PATH="$ORGD_ROOT/td" -export ORGD_CLD_PATH="$ORGD_ROOT/cld" -export ORGD_KT_PATH="$ORGD_ROOT/kt" -export ORGD_MED_PATH="$ORGD_ROOT/med" - - - - # ZSH Directories export ZDOTDIR=$XDG_CONFIG_HOME/zsh export ZSH_CACHE_DIR="$XDG_CACHE_HOME/zsh" diff --git a/zsh/.zshrc b/zsh/.zshrc index 0c2ed40..0f24568 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -31,7 +31,13 @@ autoload -U promptinit && promptinit source "$XDG_CONFIG_HOME/zsh/.zshrc-xdg" ################################## orgd ####################################### -export ORGD_TD_PATH="$HOME/docs/wr/td" +export WRITTEN="$HOME/docs/wr" +export ORGD_ROOT="$WRITTEN/orgd" + +export ORGD_TD_PATH="$ORGD_ROOT/td" +export ORGD_CLD_PATH="$ORGD_ROOT/cld" +export ORGD_KT_PATH="$ORGD_ROOT/kt" +export ORGD_MED_PATH="$ORGD_ROOT/med" ########## Configuration ############# if [[ ! -d ~/.config/zsh/zsh-autopair ]]; then -- cgit v1.2.1