aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/tmux.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-10-04 02:28:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-10-04 02:28:06 +1300
commit2be81efc00facc73f07c2d7ecc37517642860de0 (patch)
treea70cc5f0bd80a59119a0c705b77f14cda06a9099 /bash/bashrc.d/tmux.bash
parentUpdate target list (diff)
downloaddotfiles-2be81efc00facc73f07c2d7ecc37517642860de0.tar.gz
dotfiles-2be81efc00facc73f07c2d7ecc37517642860de0.zip
Correct inverted test
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 d7b6184b..1d192f46 100644
--- a/bash/bashrc.d/tmux.bash
+++ b/bash/bashrc.d/tmux.bash
@@ -8,7 +8,7 @@ tmux() {
local -a tcmd
# If given any arguments, just use them as they are
- if ! (($#)) ; then
+ if (($#)) ; then
tcmd=("$@")
# If a session exists, just attach to it