diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-21 22:21:28 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-21 22:21:28 +1300 |
commit | 8d6f34131d73bdc6eae1e667ad9148588f1c5319 (patch) | |
tree | 5ad4511fb692eb3090464a596643c1d3e2f02829 /bash/bashrc.d/tmux.bash | |
parent | Change null-arguments check for tmux func (diff) | |
download | dotfiles-8d6f34131d73bdc6eae1e667ad9148588f1c5319.tar.gz dotfiles-8d6f34131d73bdc6eae1e667ad9148588f1c5319.zip |
Detach session on attaching by default
Diffstat (limited to 'bash/bashrc.d/tmux.bash')
-rw-r--r-- | bash/bashrc.d/tmux.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/tmux.bash b/bash/bashrc.d/tmux.bash index 2e4db7a6..0a3c2743 100644 --- a/bash/bashrc.d/tmux.bash +++ b/bash/bashrc.d/tmux.bash @@ -8,7 +8,7 @@ tmux() { # If sessions exist, default the arguments to the attach-session command if ! (($#)) && command tmux has-session 2>/dev/null; then - command tmux attach-session + command tmux attach-session -d # Otherwise, just call tmux directly with the given arguments else |