about summary refs log tree commit diff
path: root/Functions/Prompts/prompt_bart_setup
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2005-05-10 04:38:54 +0000
committerBart Schaefer <barts@users.sourceforge.net>2005-05-10 04:38:54 +0000
commitd0a12b9d7bf8794c1fd4b490501ee167aa62b511 (patch)
treee4e2e6189b4feefbf034784471b3c64d9efba95c /Functions/Prompts/prompt_bart_setup
parent0d34cdcb0d6ff553582b68de2d21aa434c93d2ab (diff)
downloadzsh-d0a12b9d7bf8794c1fd4b490501ee167aa62b511.tar.gz
zsh-d0a12b9d7bf8794c1fd4b490501ee167aa62b511.tar.xz
zsh-d0a12b9d7bf8794c1fd4b490501ee167aa62b511.zip
Misc. prompt theme repairs
Diffstat (limited to 'Functions/Prompts/prompt_bart_setup')
-rw-r--r--Functions/Prompts/prompt_bart_setup5
1 files changed, 5 insertions, 0 deletions
diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup
index 2f0e44f43..0826d1872 100644
--- a/Functions/Prompts/prompt_bart_setup
+++ b/Functions/Prompts/prompt_bart_setup
@@ -180,4 +180,9 @@ prompt_bart_setup () {
     return 0
 }
 
+prompt_bart_preview () {
+    local +h PS1='%# '
+    prompt_preview_theme bart "$@"
+}
+
 [[ -o kshautoload ]] || prompt_bart_setup "$@"