aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-19 12:50:51 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-19 12:50:51 +1300
commit1401d57fb36dcae718acde0a99cd78b491a57017 (patch)
treecee93327d70d501a0451f3c23c035bbaa4a8e913 /zsh
parentea5d2c2aa0066934e782d022358b66808f38f0ba (diff)
downloaddotfiles-1401d57fb36dcae718acde0a99cd78b491a57017.tar.gz
Remove TMUX SHLVL crap from zsh config
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc7
1 files changed, 0 insertions, 7 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 6edcdb67..2376e568 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -7,13 +7,6 @@ HISTFILE=$HOME/.zsh_history
SAVEHIST=$((1 << 12))
HISTSIZE=$((1 << 10))
-# Set a SHLVL-derived value that takes tmux into account. This is used to show
-# the current SHLVL in the prompt
-if [[ -n $TMUX && -z $TMUX_SHLVL ]] ; then
- TMUX_SHLVL=$((SHLVL - 1))
- export TMUX_SHLVL
-fi
-
# Load POSIX shell startup files and then Bash-specific ones
for sh in "$ENV" "$HOME"/.zshrc.d/*.zsh ; do
[[ -e $sh ]] && source "$sh"