36 lines
989 B
Plaintext
36 lines
989 B
Plaintext
|
export BROWSER="firefox"
|
||
|
export EDITOR="nvim"
|
||
|
export TZ="America/Los_Angeles"
|
||
|
export GTK_THEME="Adwaita:dark"
|
||
|
export GOPATH=~/.local/lib/go/
|
||
|
|
||
|
# 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 "$@"
|
||
|
}
|