summaryrefslogtreecommitdiff
path: root/.zshenv
blob: 1be5733f62d76249865dedd04b2306840b165c70 (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/3.0.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=3A96DA398EA604CE6863E993A89F222F433C2057
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