From 8393bc2f1670a231748b8b06be1b995e59902b52 Mon Sep 17 00:00:00 2001 From: masterzu Date: Fri, 25 Jan 2019 14:21:09 +0100 Subject: [PATCH] .bashrc: disable auto run tmux --- .bashrc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index 011bb69..3020b2c 100755 --- a/.bashrc +++ b/.bashrc @@ -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