From e15a76ec409766d6c93846380d64ac2852b18bcd Mon Sep 17 00:00:00 2001 From: LuKe Tidd Date: Fri, 14 Jan 2022 12:46:10 -0500 Subject: [PATCH] "tls" for tmux was broken. $socket had a full path and only needed the filename. --- tmux_control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux_control b/tmux_control index bdf0e8d..f6ffb69 100755 --- a/tmux_control +++ b/tmux_control @@ -43,7 +43,7 @@ case "$invocation" in readarray -d '' sockets < <(find "/tmp/tmux-$(id -u)" -maxdepth 1 -type s -print0) for socket in ${sockets[*]}; do printf '%s\n' "$socket" - tmux -L "${socket}" list-sessions | sed 's/^/ /' + tmux -L "$(basename "${socket}")" list-sessions | sed 's/^/ /' done exit 0 esac