diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-04 02:28:06 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-04 02:28:06 +1300 |
commit | 2be81efc00facc73f07c2d7ecc37517642860de0 (patch) | |
tree | a70cc5f0bd80a59119a0c705b77f14cda06a9099 /bash/bashrc.d/tmux.bash | |
parent | Update target list (diff) | |
download | dotfiles-2be81efc00facc73f07c2d7ecc37517642860de0.tar.gz dotfiles-2be81efc00facc73f07c2d7ecc37517642860de0.zip |
Correct inverted test
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 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 |