# 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