about summary refs log tree commit diff
path: root/Functions/Prompts
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-07-28 13:33:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-07-28 13:33:52 +0000
commit10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 (patch)
tree32c80b045d603144ffafde5acf96853ba164d3f7 /Functions/Prompts
parent278a892888352f717b72dc1af06105cdfcbe63fe (diff)
downloadzsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.gz
zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.xz
zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.zip
c.f. users/15202: use "autoload -Uz" consistently
Diffstat (limited to 'Functions/Prompts')
-rw-r--r--Functions/Prompts/promptinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit
index fef01d372..98c220fc1 100644
--- a/Functions/Prompts/promptinit
+++ b/Functions/Prompts/promptinit
@@ -22,7 +22,7 @@ promptinit () {
       name="$match[1]"
       if [[ -r "$theme" ]]; then
         prompt_themes=($prompt_themes $name)
-        autoload -U prompt_${name}_setup
+        autoload -Uz prompt_${name}_setup
       else
         print "Couldn't read file $theme containing theme $name."
       fi