config/zshenv
2012-04-02 16:38:47 -07:00

13 lines
366 B
Bash
Executable file

custom_paths=(/sbin /usr/sbin $HOME/bin $HOME/.rbenv/bin /usr/local/android/tools /usr/local/android/platform-tools /Applications/Xcode.app/Contents/Developer/usr/bin)
for dir in $custom_paths; do
if [[ -d "$dir" ]]; then
path=($dir $path)
fi
done
export path
typeset -U path
ZDOTDIR=~/config/zsh
fpath=($fpath $ZDOTDIR/functions)
typeset -U fpath