From 677ce5b7d863c68c07b78ee8cad7104f3c75d752 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 19 Dec 2016 11:49:37 +1300 Subject: Keep trying ... --- tmux/tmux.conf.m4 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tmux') diff --git a/tmux/tmux.conf.m4 b/tmux/tmux.conf.m4 index 7b3fff51..97a9f2b4 100644 --- a/tmux/tmux.conf.m4 +++ b/tmux/tmux.conf.m4 @@ -8,17 +8,12 @@ set-environment -gru SSH_CONNECTION set-environment -gru SSH_TTY set-environment -gru WINDOWID -# Reset SHLVL -# This doesn't work quite right yet; if your SHELL is something that increments -# SHLVL, it gets incremented twice; need to figure out a clean solution to this -set-environment -gru SHLVL - # Otherwise, use the environment we had when we started; don't touch it during # a session unless I specifically ask set-option -g update-environment '' # Setting this makes each new pane a non-login shell, which suits me better -set-option -g default-command "$SHELL" +set-option -g default-command "unset SHLVL ; exec $SHELL" # Expect a 256-color terminal set-option -g default-terminal 'screen-256color' -- cgit v1.2.3