aboutsummaryrefslogtreecommitdiff
path: root/pdksh
diff options
context:
space:
mode:
Diffstat (limited to 'pdksh')
-rw-r--r--pdksh/kshrc.d/prompt.ksh7
1 files changed, 1 insertions, 6 deletions
diff --git a/pdksh/kshrc.d/prompt.ksh b/pdksh/kshrc.d/prompt.ksh
index f7a187ed..8a58303d 100644
--- a/pdksh/kshrc.d/prompt.ksh
+++ b/pdksh/kshrc.d/prompt.ksh
@@ -27,11 +27,6 @@ prompt() {
PS1=$PS1'${PROMPT_SUFFIX}'
PS1=$PS1'\$'
- # If Bash 4.0 is available, trim very long paths in prompt
- if ((BASH_VERSINFO[0] >= 4)) ; then
- PROMPT_DIRTRIM=4
- fi
-
# Count available colors
local -i colors
colors=$( {
@@ -87,7 +82,7 @@ prompt() {
# Revert to simple inexpensive prompts
off)
- unset -v PROMPT_COMMAND PROMPT_DIRTRIM PROMPT_RETURN
+ unset -v PROMPT_COMMAND PROMPT_RETURN
PS1='\$ '
PS2='> '
PS3='? '