From c1f326253bfac02501e64d80e76626072d0b8ace Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 1 Jan 2009 21:38:36 +0100 Subject: [PATCH] Moved loading of add-zsh-hook up. So it can be used everywhere. --- zsh/rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/rc b/zsh/rc index 93feb7d..ebbd994 100644 --- a/zsh/rc +++ b/zsh/rc @@ -36,6 +36,9 @@ setopt autocd # one. setopt correct +# 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 @@ -87,9 +90,6 @@ setopt extendedglob # Don't exit if is pressed. setopt ignoreeof -# Autoload add-zsh-hook to add/remove zsh hook functions easily. -autoload -Uz add-zsh-hook - # If ^C is pressed while typing a command, add it to the history so it can be # easily retrieved later and then abort like ^C normally does. This is useful # when I want to abort an command to do something in between and then finish -- 2.44.2