Merge branch 'apjanke-z-allow-custom'

Closes #4578
This commit is contained in:
Marc Cornellà 2015-11-27 17:12:45 +01:00
commit d3b9520501
1 changed files with 1 additions and 6 deletions

View File

@ -1,6 +1 @@
_load_z() {
source $1/z.sh
}
[[ -f $ZSH_CUSTOM/plugins/z/z.plugin.zsh ]] && _load_z $ZSH_CUSTOM/plugins/z
[[ -f $ZSH/plugins/z/z.plugin.zsh ]] && _load_z $ZSH/plugins/z
source "${0:h}/z.sh"