summaryrefslogtreecommitdiff
path: root/zsh/.zshenv
diff options
context:
space:
mode:
authorself <self@sateoki.xyz>2022-05-21 22:59:12 +0100
committerself <self@sateoki.xyz>2022-05-21 22:59:12 +0100
commit0c332e59bf8dda38cd31adf49c62774c433a2385 (patch)
tree1289ee2ede1eb53b71da9a12434836196a90a0df /zsh/.zshenv
parentbd1fa71b1b1b20fbf2ab86c25f3daaad93a99ecb (diff)
zshenv changes, e.g. more moved to xdg
Diffstat (limited to 'zsh/.zshenv')
-rw-r--r--zsh/.zshenv15
1 files changed, 15 insertions, 0 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index d7d31ba..506238d 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -2,6 +2,7 @@
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
+export XDG_STATE_HOME="$HOME/.local/state"
# Path Directories
export PATH="$PATH:$HOME/.local/bin"
@@ -17,7 +18,21 @@ export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export GOPATH="$XDG_DATA_HOME"/go
export LESSHISTFILE=/dev/null
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
+export PYTHONHISTFILE=/dev/null # in case one day they actually decide to support XDG...
+export PYTHONHISTORY=/dev/null
+export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
+export GEM_HOME="$XDG_DATA_HOME"/gem
+export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem
+
+
# ZSH Directories
export ZDOTDIR=$XDG_CONFIG_HOME/zsh
export ZSH_CACHE_DIR="$XDG_CACHE_HOME/zsh"
+
+# Qt Themes
+export QT_STYLE_OVERRIDE=kvantum
+
+# 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"
+