From: Simon Ruderich Date: Sun, 8 Feb 2009 15:49:47 +0000 (+0100) Subject: Don't try to autoload directories in ~/.zsh/functions. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=0c74b67f4bda341ac3430b8f6af51dc47439caba;p=config%2Fdotfiles.git Don't try to autoload directories in ~/.zsh/functions. --- 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