aboutsummaryrefslogtreecommitdiff
path: root/zsh
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 /zsh
parent5981cb248e399b5594f9227b7de8f1c2b31e2c3f (diff)
downloaddotfiles-a9c7669e1d9e1e16bde23a0f51ccd1c573d037de.tar.gz
Remove SHLVL nested shell feature for now
Causes a bit too much curliness in configuration; may need a more comprehensive approach.
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc.d/prompt.zsh6
1 files changed, 0 insertions, 6 deletions
diff --git a/zsh/zshrc.d/prompt.zsh b/zsh/zshrc.d/prompt.zsh
index 898031ea..a22739d3 100644
--- a/zsh/zshrc.d/prompt.zsh
+++ b/zsh/zshrc.d/prompt.zsh
@@ -24,12 +24,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
-
# Bold and color the prompt if it looks like we can
if (( $({ tput colors || tput Co ; } 2>/dev/null) >= 8 )) ; then
PS1='%B%F{cyan}'$PS1'%f%b'