dotfiles/zsh/.zshenv

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-12-02 00:53:56 +00:00
export BROWSER="firefox"
export EDITOR="nvim"
export TZ="America/Los_Angeles"
export GTK_THEME="Adwaita:dark"
2024-12-02 01:18:58 +00:00
export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
2024-12-02 01:21:49 +00:00
export LANGUAGE="en_US"
export LC_ALL="en_US"
2024-12-02 00:53:56 +00:00
# Apply QubesOS specific configuration
if command -v qubesdb-read &> /dev/null; then
export QUBES_GPG_DOMAIN="vault";
export SSH_AUTH_SOCK="/home/${USER}/.SSH_AGENT_${QUBES_GPG_DOMAIN}";
git config --global gpg.program qubes-gpg-client-wrapper;
else
# Always use gpg2
[[ -f /usr/bin/gpg2 ]] && alias gpg="/usr/bin/gpg2"
fi
alias vi="nvim"
alias vim="nvim"
path=("$PYENV_ROOT/bin" $path)
path=("$HOME/.local/bin" $path)
path=($^path(N)) # remove paths that don't exist
#man theme
man() {
env \
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
LESS_TERMCAP_md=$(printf "\e[1;31m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[1;32m") \
man "$@"
}