diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-02 15:57:37 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-02 15:57:37 -0300 |
commit | 9039fd411934413a750ff77eab4d8c632b3e5741 (patch) | |
tree | 8cf0a20f19050d4d47c4cb0b0ced920f85ccca69 /wtmux | |
parent | 5585ddfc0b7098900a916cf581736f3601d4c7db (diff) | |
download | termplex-9039fd411934413a750ff77eab4d8c632b3e5741.tar.gz termplex-9039fd411934413a750ff77eab4d8c632b3e5741.tar.bz2 |
Fix: positional argument handling
Diffstat (limited to 'wtmux')
-rwxr-xr-x | wtmux | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ if [ ! -z "${name}" ]; then fi fi - if [ -z "$state" ] || [ "$state" == "attached" ]; then + if [ "$state" != "detached" ]; then tmux attach -t ${name} fi else |