From 0c74b67f4bda341ac3430b8f6af51dc47439caba Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 8 Feb 2009 16:49:47 +0100 Subject: [PATCH] Don't try to autoload directories in ~/.zsh/functions. --- zsh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/rc b/zsh/rc index cbf880e..6348432 100644 --- a/zsh/rc +++ b/zsh/rc @@ -40,7 +40,7 @@ setopt ignoreeof fpath=(~/.zsh/functions $fpath) # Autoload my functions (except completion functions and hidden files). Thanks # to caphuso from the Zsh example files for this idea. -autoload ${fpath[1]}/^_*(:t) +autoload ${fpath[1]}/^_*(^/:t) # Autoload add-zsh-hook to add/remove zsh hook functions easily. autoload -Uz add-zsh-hook -- 2.44.1