From 4c71851b9071fa08691d46f3414ee245f8638b03 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Fri, 27 Jan 2012 04:55:06 -0500 Subject: [PATCH] export OMZ_HOME in omz/init.zsh --- init.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.zsh b/init.zsh index 97df02c0..c0fd0c1d 100644 --- a/init.zsh +++ b/init.zsh @@ -27,6 +27,9 @@ fpath=( # Load and initialize the completion system ignoring insecure directories. autoload -Uz compinit && compinit -i +# Export OMZ_HOME as the current directory. +export OMZ_HOME=~+ + # Source files (the order matters). source "${0:h}/helper.zsh" source "${0:h}/environment.zsh"