always build off the base OS path

Mon, 02 Nov 2015 00:58:34 +0000

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 02 Nov 2015 00:58:34 +0000
changeset 223
521938eac8fe
parent 222
1dc0597fe712
child 224
bfa4bae34d0f

always build off the base OS path

.zshrc file | annotate | diff | comparison | revisions
--- a/.zshrc
+++ b/.zshrc
@@ -17,29 +17,22 @@ fi
 # Uncomment the following line to disable auto-setting terminal title.
 # DISABLE_AUTO_TITLE="true"
 
-# Uncomment the following line to display red dots whilst waiting for completion.
-# COMPLETION_WAITING_DOTS="true"
+COMPLETION_WAITING_DOTS="true"
 
 # Uncomment the following line if you want to disable marking untracked files
 # under VCS as dirty. This makes repository status check for large repositories
 # much, much faster.
 # DISABLE_UNTRACKED_FILES_DIRTY="true"
 
-
+typeset -U path
 
 source $ZSH/oh-my-zsh.sh
 
 # User configuration
-
-export PATH="$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
-# export MANPATH="/usr/local/man:$MANPATH"
-
-# export LANG=en_US.UTF-8
+path=( "$HOME/bin" "$path[@]" )
 
 source ~/.profile.common
 
-typeset -U path
-
 for ENVTHING in $envthings; do
   if [ -d ~/.$ENVTHING ]; then
     path=( ~/.$ENVTHING/bin "$path[@]" )
@@ -50,4 +43,3 @@ done
 if [ -f ~/.zshrc.local ]; then
   source ~/.zshrc.local
 fi
-

mercurial