diff options
Diffstat (limited to '.zshenv')
-rw-r--r-- | .zshenv | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,16 @@ +# Environment functions +appendpath () { + case ":$PATH:" in + *:"$1":*) + ;; + *) + PATH="${PATH:+$PATH:}$1" + esac +} + # Setup environment -export PATH="$PATH:/home/dholman/bin" +appendpath '/home/dholman/bin' +export PATH export EDITOR="vim" export SUDO_EDITOR="vim" export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 |