summaryrefslogtreecommitdiffstats
path: root/Functions/Prompts/prompt_off_setup
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2017-07-29 16:58:39 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2017-07-29 16:58:39 -0700
commit43e55a9bcd2c90124a751f2597d2f33cb6e3c042 (patch)
tree2fdf9d052a2ec8d0503c23ce8430bf89352cb700 /Functions/Prompts/prompt_off_setup
parentunposted: update distribution docs for 5.4 release. (diff)
downloadzsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.tar
zsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.tar.gz
zsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.tar.bz2
zsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.tar.lz
zsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.tar.xz
zsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.tar.zst
zsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.zip
41472: introduce cleanup hooks default and restore special themes, and update documentation
Diffstat (limited to 'Functions/Prompts/prompt_off_setup')
-rw-r--r--Functions/Prompts/prompt_off_setup13
1 files changed, 7 insertions, 6 deletions
diff --git a/Functions/Prompts/prompt_off_setup b/Functions/Prompts/prompt_off_setup
index f604b477f..e6d16bfd9 100644
--- a/Functions/Prompts/prompt_off_setup
+++ b/Functions/Prompts/prompt_off_setup
@@ -1,9 +1,10 @@
# Very simple prompt
-prompt_off_setup () {
- PS1="%# "
- PS2="> "
- prompt_opts=( cr percent )
-}
+prompt_default_setup 2>/dev/null
-prompt_off_setup "$@"
+PS1="%# "
+PS2="> "
+PS3='?# '
+PS4='+> '
+
+prompt_opts=( cr percent sp )