# 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/distcc/bin:$PATH" export 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 /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh source /usr/lib/python3.8/site-packages/powerline/bindings/zsh/powerline.zsh source ~/.rvm/scripts/rvm