ohmyzsh/plugins/z/z.plugin.zsh
2011-08-16 17:34:05 -04:00

8 lines
180 B
Bash

if [ $( which brew ) ]; then
if [ -f `brew --prefix`/etc/profile.d/z.sh ]; then
. `brew --prefix`/etc/profile.d/z.sh
function precmd () {
z --add "$(pwd -P)"
}
fi
fi