aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/tmux.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/tmux.bash')
-rw-r--r--bash/bashrc.d/tmux.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/tmux.bash b/bash/bashrc.d/tmux.bash
index 3a26b5db..1a160790 100644
--- a/bash/bashrc.d/tmux.bash
+++ b/bash/bashrc.d/tmux.bash
@@ -8,7 +8,7 @@ tmux() {
# If no arguments, attempt to attach to an existing session; if that fails,
# run the tmux binary with no arguments, which by default creates a new
# session
- elif ! command tmux attach -d &>/dev/null; then
+ elif ! command tmux attach -d 2>/dev/null; then
command tmux
fi
}