Browse Source

Remove SHLVL env using shell alias instead of tmux.conf

pull/1/head
10sr 10 years ago
parent
commit
30bf3b91b7
2 changed files with 1 additions and 1 deletions
  1. +1
    -0
      shrc
  2. +0
    -1
      tmux.conf

+ 1
- 0
shrc View File

@@ -732,6 +732,7 @@ __realpath(){
fi fi
} }


__safe_alias tmux='env -u SHLVL tmux'
tx(){ tx(){
tmux start-server tmux start-server
if test -z "$1" if test -z "$1"


+ 0
- 1
tmux.conf View File

@@ -21,7 +21,6 @@ setw -g mode-mouse off
#set -g default-command /bin/bash #set -g default-command /bin/bash


#set -g default-path "$HOME" #set -g default-path "$HOME"
set-environment -u SHLVL


# try to set title of terminal tmux is running on # try to set title of terminal tmux is running on
# set -g set-titles off # set -g set-titles off


Loading…
Cancel
Save