From 7936a18d7f439b1ed28aceca8fd073dbb49192cc Mon Sep 17 00:00:00 2001 From: Ben O'Hara Date: Sun, 17 Jun 2012 15:24:34 +1000 Subject: [PATCH] omodule not omodules --- helper.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper.zsh b/helper.zsh index e6515abc..79322fc5 100644 --- a/helper.zsh +++ b/helper.zsh @@ -55,11 +55,11 @@ function omodload { if (( $? == 0 )); then zstyle ":omz:module:$omodule" loaded 'yes' # Add functions to fpath. - fpath=(${omodules:+${OMZ}/modules/${^omodules}/functions(/FN)} $fpath) + fpath=(${omodule:+${OMZ}/modules/${^omodule}/functions(/FN)} $fpath) # Load Oh My Zsh functions. for ofunction in \ - $OMZ/modules/${^omodules}/functions/^([_.]*|prompt_*_setup|README*)(.N:t) + $OMZ/modules/${^omodule}/functions/^([_.]*|prompt_*_setup|README*)(.N:t) do autoload -Uz "$ofunction" done