From 5c5464d4ae8b41e8a519dd5c147946f9f9c371a1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 6 Jul 2025 16:09:46 +0200 Subject: [PATCH] lint/uid --- sh/tmux.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 00ef126..9213e01 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -27,7 +27,9 @@ rwx_tmux_kill() { # list #= tml rwx_tmux_list() { - ls "/tmp/tmux-$(id --user)" + local user_id + user_id="$(id --user)" + ls "/tmp/tmux-${user_id}" } # ╭──────┬───────╮