From a41a1bf8c3d79a651c235befadb84e6d559fb7c8 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 8 Feb 2009 16:49:35 +0100 Subject: [PATCH] Move autoload of add-zsh-hook to "function settings". It fits there better. --- zsh/rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.45.2