This commit is contained in:
Marc Beninca 2025-07-06 15:59:31 +02:00
parent c21cbb1e98
commit 69e71ee1a3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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