ohmyzsh/plugins/z/z.plugin.zsh
2011-08-14 20:35:03 +12:00

6 lines
144 B
Bash

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