From: Simon Ruderich Date: Sun, 8 Feb 2009 15:49:35 +0000 (+0100) Subject: Move autoload of add-zsh-hook to "function settings". X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=a41a1bf8c3d79a651c235befadb84e6d559fb7c8;p=config%2Fdotfiles.git Move autoload of add-zsh-hook to "function settings". It fits there better. --- diff --git a/zsh/rc b/zsh/rc index a7d62cc..cbf880e 100644 --- a/zsh/rc +++ b/zsh/rc @@ -42,6 +42,9 @@ fpath=(~/.zsh/functions $fpath) # to caphuso from the Zsh example files for this idea. autoload ${fpath[1]}/^_*(:t) +# Autoload add-zsh-hook to add/remove zsh hook functions easily. +autoload -Uz add-zsh-hook + # HISTORY SETTINGS @@ -62,9 +65,6 @@ bindkey "^N" history-beginning-search-forward # PROMPT SETTINGS -# Autoload add-zsh-hook to add/remove zsh hook functions easily. -autoload -Uz add-zsh-hook - # Use colorized output, necessary for prompts and completions. autoload -U colors && colors