-# make cd act like pushd
-DIRSTACKSIZE=10 # number of dirs to remember
-setopt auto_pushd # cd acts like pushd
-setopt pushd_minus # inverts the meaning of cp -1 and cp +1
-setopt pushd_silent # don't print dir stack everytime
-setopt pushd_to_home # pushd with no argumens pushes to ~
-setopt pushd_ignore_dups # ignore dups in pushd/cd
-alias dh='dirs -v' # show numbers with dirs
+# populate path
+typeset -U path # make path a unique array
+[[ -d ~/.local/bin ]] && path=(~/.local/bin $path)
+[[ -d ~/bin ]] && path=(~/bin $path)
+[[ -d /extra ]] && path=($path /extra/bin /extra/usr/bin /extra/sbin /extra/usr/sbin)
+[[ -d /opt/android-sdk ]] && path=($path /opt/android-sdk/platform-tools)