diff --git a/plugins/z/z.plugin.zsh b/plugins/z/z.plugin.zsh new file mode 100644 index 000000000..fa736178b --- /dev/null +++ b/plugins/z/z.plugin.zsh @@ -0,0 +1,5 @@ +. `brew --prefix`/etc/profile.d/z.sh + + function precmd () { + z --add "$(pwd -P)" + }