ohmyzsh/plugins/z/z.plugin.zsh

5 lines
88 B
Bash

. `brew --prefix`/etc/profile.d/z.sh
function precmd () {
z --add "$(pwd -P)"
}