about summary refs log tree commit diff
path: root/Functions/Prompts
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2012-05-02 13:09:37 +0000
committerMikael Magnusson <mikachu@gmail.com>2012-05-02 13:09:37 +0000
commit150dc9021bcf8a03671424142a9ffbfecd516915 (patch)
tree1d59d0a6ae1eb65db290b13a3b9b87f368c11e7f /Functions/Prompts
parentcd1b5d86e0a6ac37e982c6a3b8725fd11076f14c (diff)
downloadzsh-150dc9021bcf8a03671424142a9ffbfecd516915.tar.gz
zsh-150dc9021bcf8a03671424142a9ffbfecd516915.tar.xz
zsh-150dc9021bcf8a03671424142a9ffbfecd516915.zip
30461, 30462 (tweaked): add missing local for match, mbegin and mend
Diffstat (limited to 'Functions/Prompts')
-rw-r--r--Functions/Prompts/promptinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit
index 66e73a7a5..edf2d028b 100644
--- a/Functions/Prompts/promptinit
+++ b/Functions/Prompts/promptinit
@@ -15,6 +15,7 @@ promptinit () {
   emulate -L zsh
   setopt extendedglob
   local ppath='' name theme
+  local -a match mbegin mend
 
   # Autoload all prompt_*_setup functions in fpath
   for theme in $^fpath/prompt_*_setup(N); do