From 59cabba725d11552f82d1ed3710484d5da677f4f Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 2 Nov 2012 14:38:34 -0700 Subject: [PATCH] Fix makers function path --- zshrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/zshrc b/zshrc index aa0abcd..cba6cd1 100644 --- a/zshrc +++ b/zshrc @@ -181,15 +181,18 @@ zstyle ':completion:*' expand 'yes' # FUNCTIONS ### -# function path -fpath=($HOME/.zsh/func $fpath) +# Function path +fpath=($HOME/.zsh/makers $HOME/.zsh/func $fpath) # Generate a password print_info_sub_noisy 3 "Loading pw module" autoload pw + # Maker module -- various functions for makin' stuff -print_info_sub_noisy 3 "Loading mkrs module" -autoload mkrs +print_info_sub_noisy 3 "Loading makers module" +for func in `ls $HOME/.zsh/makers`; do + autoload $func +done # Go up $1 directories, where $1 is an integer (saves me from having to type ../ # ad nauseum)