diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-11 19:12:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-11 19:12:22 +0000 |
commit | ffabab4e74ae5b7e61550c528b8d19f6af6217e3 (patch) | |
tree | 666ce4565e2740f1f4bc4e1c07a2b188004f38f6 /Functions/Prompts/prompt_elite_setup | |
parent | 1b1712d065fae345cc5658318757348e9fb298d0 (diff) | |
download | zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.tar.gz zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.tar.xz zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.zip |
25276: use autoload -z for zsh-autoload functions
Diffstat (limited to 'Functions/Prompts/prompt_elite_setup')
-rw-r--r-- | Functions/Prompts/prompt_elite_setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/prompt_elite_setup b/Functions/Prompts/prompt_elite_setup index 7af45dd88..0d57f50a0 100644 --- a/Functions/Prompts/prompt_elite_setup +++ b/Functions/Prompts/prompt_elite_setup @@ -22,7 +22,7 @@ prompt_elite_setup () { local punctuation=${2:-'blue'} local -A schars - autoload -U prompt_special_chars + autoload -Uz prompt_special_chars prompt_special_chars PS1="%F{$text}$schars[332]$schars[304]%F{$punctuation}(%F{$text}%n%F{$punctuation}@%F{$text}%m%F{$punctuation})%F{$text}-%F{$punctuation}(%F{$text}%D{%I:%M%P}%F{$punctuation}-:-%F{$text}%D{%m}%F{$punctuation}%F{$text}/%D{%d}%F{$punctuation})%F{$text}$schars[304]-%F{$punctuation}$schars[371]%F{$text}-$schars[371]$schars[371]%F{$punctuation}$schars[372]$prompt_newline%F{$text}$schars[300]$schars[304]%F{$punctuation}(%F{$text}%1~%F{$punctuation})%F{$text}$schars[304]$schars[371]%F{$punctuation}$schars[372]%f" |