.bashrc: disable auto run tmux

This commit is contained in:
masterzu 2019-01-25 14:21:09 +01:00
parent 4589aafefd
commit 8393bc2f16
1 changed files with 7 additions and 6 deletions

13
.bashrc
View File

@ -77,12 +77,6 @@ export MANPATH=$HOME/.local/share/man:
### nodejs
test -d ~/.local_node/bin && export PATH="$PATH:$HOME/.local_node/bin"
# autolaunch tmux
# https://wiki.archlinux.org/index.php/Tmux#Bash
# test $- != *i* && return
test -z "$TMUX" -a "$TERM" == "st-256color" && {
test -n "$(tmux ls 2>/dev/null)" && exec tmux attach || exec tmux
}
# added by Nix installer
if [ -e /home/patrick/.nix-profile/etc/profile.d/nix.sh ]; then . /home/patrick/.nix-profile/etc/profile.d/nix.sh; fi
@ -91,6 +85,13 @@ if [ -e /home/patrick/.nix-profile/etc/profile.d/nix.sh ]; then . /home/patrick/
export PATH=$PATH:/home/patrick/src/golang/go1.11.2/bin
export GOPATH=/home/patrick/devel/golang
# autolaunch tmux
# https://wiki.archlinux.org/index.php/Tmux#Bash
# test $- != *i* && return
# test -z "$TMUX" -a "$TERM" == "st-256color" && {
# test -n "$(tmux ls 2>/dev/null)" && exec tmux attach || exec tmux
# }
# end .bashrc