diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2017-07-29 16:58:39 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2017-07-29 16:58:39 -0700 |
commit | 43e55a9bcd2c90124a751f2597d2f33cb6e3c042 (patch) | |
tree | 2fdf9d052a2ec8d0503c23ce8430bf89352cb700 /Functions/Prompts/prompt_off_setup | |
parent | 32ca9222af5ee7d170f0b7f7cb67b03c973c2e98 (diff) | |
download | zsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.tar.gz zsh-43e55a9bcd2c90124a751f2597d2f33cb6e3c042.tar.xz 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_setup | 13 |
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 ) |