From a9c7669e1d9e1e16bde23a0f51ccd1c573d037de Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 24 Jan 2017 17:25:24 +1300 Subject: Remove SHLVL nested shell feature for now Causes a bit too much curliness in configuration; may need a more comprehensive approach. --- zsh/zshrc.d/prompt.zsh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'zsh') 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' -- cgit v1.2.3