Added plugin z, based on the z function by Rupa Deadwyler

This commit is contained in:
André Villar 2011-04-14 17:48:06 -03:00
commit 70481f71cb
3 changed files with 265 additions and 0 deletions

9
plugins/z/z.plugin.zsh Normal file
View file

@ -0,0 +1,9 @@
# Copyright (c) 2011 goolic under the WTFPL license
# Using the z function created by rupa deadwyler on https://github.com/rupa/z
source $ZSH/plugins/z/z.sh
function precmd () {
z --add "$(pwd -P)"
}