mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 04:50:27 +02:00
c.f. users/15202: use "autoload -Uz" consistently
This commit is contained in:
parent
278a892888
commit
10c2f225fd
16 changed files with 37 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue