From 43e55a9bcd2c90124a751f2597d2f33cb6e3c042 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 29 Jul 2017 16:58:39 -0700 Subject: 41472: introduce cleanup hooks default and restore special themes, and update documentation --- Functions/Prompts/prompt_off_setup | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Functions/Prompts/prompt_off_setup') 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 ) -- cgit v1.2.3