dotfiles/config/zsh/.zshenv

44 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-03-13 23:43:08 +01:00
# ~/.zshenv
# Core envionmental variables
2022-08-11 11:22:22 +02:00
# Locations configured here are requred for all other files to be correctly imported
2022-03-13 23:43:08 +01:00
# Set XDG directories
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_BIN_HOME="${HOME}/.local/bin"
export XDG_LIB_HOME="${HOME}/.local/lib"
export XDG_CACHE_HOME="${HOME}/.cache"
# Set default applications
export EDITOR="vim"
export TERMINAL="konsole"
export BROWSER="firefox"
export PAGER="less"
## Respect XDG directories
export ADOTDIR="${XDG_CACHE_HOME}/zsh/antigen"
2022-08-06 21:24:34 +02:00
export OPENSSL_DIR="/usr/local/ssl"
2022-03-13 23:43:08 +01:00
export CARGO_HOME="${XDG_DATA_HOME}/cargo"
2022-08-11 11:22:22 +02:00
export CURL_HOME="${XDG_CONFIG_HOME}/curl"
2022-03-13 23:43:08 +01:00
export DOCKER_CONFIG="${XDG_CONFIG_HOME}/docker"
2022-08-08 10:46:56 +02:00
export GIT_CONFIG="${XDG_CONFIG_HOME}/git/.gitconfig"
2022-03-13 23:43:08 +01:00
export KDEHOME="${XDG_CONFIG_HOME}/kde"
export LESSHISTFILE="-" # Disable less history.
export PASSWORD_STORE_DIR="${XDG_DATA_HOME}/pass"
export PIP_CONFIG_FILE="${XDG_CONFIG_HOME}/pip/pip.conf"
export PIP_LOG_FILE="${XDG_DATA_HOME}/pip/log"
export TMUX_PLUGIN_MANAGER_PATH="${XDG_DATA_HOME}/tmux/plugins"
2022-03-13 23:43:08 +01:00
export VIMINIT=":source $XDG_CONFIG_HOME/vim/vimrc"
export WGETRC="${XDG_CONFIG_HOME}/wget/wgetrc"
export XINITRC="${XDG_CONFIG_HOME}/X11/xinitrc"
export XSERVERRC="${XDG_CONFIG_HOME}/X11/xserverrc"
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
export ZLIB="${ZDOTDIR}/lib"
2022-08-06 21:24:34 +02:00
# source $XDG_CONFIG_HOME/zsh/.zshrc
2022-08-08 10:46:56 +02:00
2022-08-11 11:22:22 +02:00
# Encodings, languges and misc settings
export LANG='en_GB.UTF-8';
export LC_ALL='en_GB.UTF-8';
export PYTHONIOENCODING='UTF-8';