about summary refs log tree commit diff
path: root/Functions/Prompts/promptinit
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-07-28 14:01:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-07-28 14:01:12 +0000
commit4de3dbac168aa5e89d4f7c278917c8af4b226542 (patch)
tree88b3dbdecef8f0ee5c6b110124a8ce6de7699135 /Functions/Prompts/promptinit
parent10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 (diff)
downloadzsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.gz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.xz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.zip
c.f. users/15202: use "autoload -Uz" consistently
Diffstat (limited to 'Functions/Prompts/promptinit')
-rw-r--r--Functions/Prompts/promptinit4
1 files changed, 2 insertions, 2 deletions
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 <theme> 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