dotfiles/zsh/.zshenv

31 lines
813 B
Plaintext
Raw Permalink 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 00:53:56 +00:00
# Apply QubesOS specific configuration
if command -v qubesdb-read &> /dev/null; then
export SSH_AUTH_SOCK="/home/${USER}/.SSH_AGENT_${QUBES_GPG_DOMAIN}";
fi
alias vi="nvim"
alias vim="nvim"
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 "$@"
}