aboutsummaryrefslogtreecommitdiff
path: root/ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-24 17:25:24 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-24 17:25:24 +1300
commita9c7669e1d9e1e16bde23a0f51ccd1c573d037de (patch)
tree0e61b06b6af21af9f89bdd761e69ebd183fff3f4 /ksh
parentWork around trailing newlines in vr() (diff)
downloaddotfiles-a9c7669e1d9e1e16bde23a0f51ccd1c573d037de.tar.gz
dotfiles-a9c7669e1d9e1e16bde23a0f51ccd1c573d037de.zip
Remove SHLVL nested shell feature for now
Causes a bit too much curliness in configuration; may need a more comprehensive approach.
Diffstat (limited to 'ksh')
-rw-r--r--ksh/kshrc.d/prompt.ksh8
1 files changed, 0 insertions, 8 deletions
diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh
index 84129efc..925db0cf 100644
--- a/ksh/kshrc.d/prompt.ksh
+++ b/ksh/kshrc.d/prompt.ksh
@@ -28,14 +28,6 @@ function prompt {
# Add terminating "$" or "#" sign
PS1=$PS1'\$'
- # Add > symbols to show nested shells
- typeset shlvl
- shlvl=1
- while ((shlvl < SHLVL)); do
- PS1='>'$PS1
- ((shlvl++))
- done
-
# Declare variables to contain terminal control strings
typeset format reset