summaryrefslogtreecommitdiff
path: root/.zshenv
blob: 6c7da64591e2ef9692712ab6820003596410f447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Environment functions
appendpath () {
    case ":$PATH:" in
        *:"$1":*)
            ;;
        *)
            PATH="${PATH:+$PATH:}$1"
    esac
}

# Setup environment
appendpath '/home/dholman/bin'
appendpath '/home/dholman/.local/bin'
appendpath '/home/dholman/.gem/ruby/2.7.0/bin'
appendpath '/home/dholman/.rvm/bin'
export PATH="/usr/lib/ccache/bin:$PATH"
export DISTCC_HOSTS="192.168.1.26/24"
export EDITOR="vim"
export SUDO_EDITOR="vim"
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
export GPGKEY=87B76D64AF9090B9C527B4D44EE2AB8BAFCB5561
export GPG_TTY=$(tty)
export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh
unset SSH_AGENT_PID

# Source outside scripts
source /usr/share/doc/pkgfile/command-not-found.zsh
source /usr/share/git/completion/git-prompt.sh
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.rvm/scripts/rvm