about summary refs log tree commit diff
path: root/Functions/Prompts/promptinit
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-19 11:48:09 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-19 11:48:09 +0000
commit5efc7525eceb8d3b5fd5f6d51396e6d58d84fa88 (patch)
treefd2efc6cf4f8bdd5607d920a1dc85d98ca5d16c5 /Functions/Prompts/promptinit
parent8efd8205edc3e19f6f28129ca2aef01f54cbcbb0 (diff)
downloadzsh-5efc7525eceb8d3b5fd5f6d51396e6d58d84fa88.tar.gz
zsh-5efc7525eceb8d3b5fd5f6d51396e6d58d84fa88.tar.xz
zsh-5efc7525eceb8d3b5fd5f6d51396e6d58d84fa88.zip
manual/8684
Diffstat (limited to 'Functions/Prompts/promptinit')
-rw-r--r--Functions/Prompts/promptinit6
1 files changed, 4 insertions, 2 deletions
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit
index cfab990df..faa73be21 100644
--- a/Functions/Prompts/promptinit
+++ b/Functions/Prompts/promptinit
@@ -8,12 +8,12 @@
 
 prompt_themes=()
 typeset -gU prompt_themes
-typeset -g prompt_theme
+typeset -g prompt_theme >/dev/null
 
 promptinit () {
   emulate -L zsh
   setopt extendedglob
-  local ppath='' name
+  local ppath='' name theme
 
   # Autoload all prompt_*_setup functions in fpath
   for theme in $^fpath/prompt_*_setup(N); do
@@ -170,6 +170,8 @@ prompt () {
  
   (( $#prompt_opts )) &&
       setopt noprompt{bang,cr,percent,subst} prompt${^prompt_opts[@]}
+
+  true
 }
 
 prompt_preview_theme () {