-n
This commit is contained in:
parent
c21cbb1e98
commit
69e71ee1a3
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
#= tma
|
||||
rwx_tmux_attach() {
|
||||
local server="${1}"
|
||||
if [ "${server}" ]; then
|
||||
if [ -n "${server}" ]; then
|
||||
tmux -L "${server}" attach-session
|
||||
else
|
||||
rwx_tmux_list
|
||||
|
@ -17,7 +17,7 @@ rwx_tmux_attach() {
|
|||
#= tmk
|
||||
rwx_tmux_kill() {
|
||||
local server="${1}"
|
||||
if [ "${server}" ]; then
|
||||
if [ -n "${server}" ]; then
|
||||
tmux -L "${server}" kill-server 2>"/dev/null"
|
||||
else
|
||||
rwx_tmux_list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue