From: Simon Ruderich Date: Thu, 1 Jan 2009 20:38:36 +0000 (+0100) Subject: Moved loading of add-zsh-hook up. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c1f326253bfac02501e64d80e76626072d0b8ace;p=config%2Fdotfiles.git Moved loading of add-zsh-hook up. So it can be used everywhere. --- 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