aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-10-02 16:20:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-10-02 16:20:32 +1300
commit2f6b61f54291ed0f90e5fd30d0c01ce97cdc3cf6 (patch)
treea72b0b5fc35c0df6be689500e235eb1c56cdd8e9 /bash
parentAllow repeats for next/prev tmux window (diff)
downloaddotfiles-2f6b61f54291ed0f90e5fd30d0c01ce97cdc3cf6.tar.gz
dotfiles-2f6b61f54291ed0f90e5fd30d0c01ce97cdc3cf6.zip
Default to detaching other sessions
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index d5a0e710..794e38aa 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -156,7 +156,7 @@ function tmux {
if [[ -n "$*" ]]; then
command tmux $*
else
- command tmux attach &>/dev/null || command tmux
+ command tmux attach -d &>/dev/null || command tmux
fi
}