zsh add to path
snippet in c

zsh add to path

user2187

# append
path+=('/home/david/pear/bin')
# or prepend
path=('/home/david/pear/bin' $path)