aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/prompt.bash
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 /bash/bashrc.d/prompt.bash
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 'bash/bashrc.d/prompt.bash')
-rw-r--r--bash/bashrc.d/prompt.bash6
1 files changed, 0 insertions, 6 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index 123c4146..c954ef97 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -28,12 +28,6 @@ prompt() {
# Add terminating "$" or "#" sign
PS1=$PS1'\$'
- # Add > symbols to show nested shells
- local shlvl
- for ((shlvl = 1; shlvl < SHLVL; shlvl++)) ; do
- PS1='>'$PS1
- done
-
# Declare variables to contain terminal control strings
local format reset