summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorself <george@gabbott.dev>2022-11-06 21:59:06 +0000
committerself <george@gabbott.dev>2022-11-06 21:59:06 +0000
commit780660e512bcac132d3a446a630c3eb8e23e3080 (patch)
tree3227cf7601a495a39728e3ffbb725865f98eca74
parent8ecfffaa7fc3790e001598cbbc32cc0623d3b4de (diff)
Moved various envvars from zshenv to zshrc so they work
-rw-r--r--zsh/.zshenv12
-rw-r--r--zsh/.zshrc8
2 files changed, 7 insertions, 13 deletions
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