Adding /usr/local/bin to path for root in zsh

This commit is contained in:
Steven Lu 2013-07-10 11:47:54 -04:00
commit b30ff1104e

2
zshrc
View file

@ -41,6 +41,8 @@ source $ZSH/oh-my-zsh.sh
# Thankfully the path that is already present is the one that the system has set according to
# normal practices. This inserts a few more things that I use from the shell.
export PATH=~/bin:~/util:$PATH:/usr/local/share/npm/bin
[[ $(id -u) == 0 ]] && export PATH=/usr/local/bin/:$PATH
# export PAGER=vimpager
# zmodload zsh/complist