aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdksh/kshrc.d/prompt.ksh11
1 files changed, 0 insertions, 11 deletions
diff --git a/pdksh/kshrc.d/prompt.ksh b/pdksh/kshrc.d/prompt.ksh
index 29c8f93a..cb0d1258 100644
--- a/pdksh/kshrc.d/prompt.ksh
+++ b/pdksh/kshrc.d/prompt.ksh
@@ -12,9 +12,6 @@ prompt() {
# Turn complex, colored PS1 and debugging PS4 prompts on
on)
- # Declare the PROMPT_RETURN variable
- PROMPT_RETURN=0
-
# Set up prompt, including optional PROMPT_PREFIX and PROMPT_SUFFIX
# variables
PS1='[\u@\h:\w]'
@@ -79,20 +76,12 @@ prompt() {
# Revert to simple inexpensive prompts
off)
- unset -v PROMPT_RETURN
PS1='\$ '
PS2='> '
PS3='? '
PS4='+ '
;;
- # Show return status of previous command in angle brackets, if not zero
- ret)
- if ((PROMPT_RETURN > 0)) ; then
- printf '<%u>' "$PROMPT_RETURN"
- fi
- ;;
-
# Show the count of background jobs in curly brackets, if not zero
job)
typeset -i jobc