summaryrefslogtreecommitdiff
path: root/zsh/.zshenv
diff options
context:
space:
mode:
authorself <george@gabbott.dev>2022-09-23 22:54:47 +0100
committerself <george@gabbott.dev>2022-09-23 22:54:47 +0100
commit7602e70ac45fb757acbc9c6e54af48828f6edbc9 (patch)
tree98524e05075c5d90a02efa949a0e9212cad178a5 /zsh/.zshenv
parenta8fce0f82a19527a25734c317d2ef9a490a200a7 (diff)
Split out zshrc into several files for cleanliness
Diffstat (limited to 'zsh/.zshenv')
-rw-r--r--zsh/.zshenv4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index 9102dc1..ca04cb1 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -41,7 +41,11 @@ export ZSH_CACHE_DIR="$XDG_CACHE_HOME/zsh"
# Qt Themes
export QT_STYLE_OVERRIDE=kvantum
+# Source envvar's that don't belong in Git
+source "$HOME/.config/zsh/.zshenv-src"
+
# Vim
# Below does not work, TODO fix so vim finds in $XDG_CONFIG_HOME/vim
# export VIMINIT="if has("nvim") | so ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/init.vim | else | set nocp | so ${XDG_CONFIG_HOME:-$HOME/.config}/vim/vimrc | endif"
+# export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'