From 4de3dbac168aa5e89d4f7c278917c8af4b226542 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 28 Jul 2010 14:01:12 +0000 Subject: c.f. users/15202: use "autoload -Uz" consistently --- Functions/Prompts/promptinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/Prompts/promptinit') diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit index 98c220fc1..0aa810236 100644 --- a/Functions/Prompts/promptinit +++ b/Functions/Prompts/promptinit @@ -32,7 +32,7 @@ promptinit () { done # To manipulate precmd and preexec hooks... - autoload -U add-zsh-hook + autoload -Uz add-zsh-hook # Variables common to all prompt styles prompt_newline=$'\n%{\r%}' @@ -134,7 +134,7 @@ Use prompt -h for help on specific themes.' ;; s) print "Set and save not yet implemented. Please ensure your ~/.zshrc" print "contains something similar to the following:\n" - print " autoload -U promptinit" + print " autoload -Uz promptinit" print " promptinit" print " prompt $*[2,-1]" shift -- cgit 1.4.1