"tls" for tmux was broken. $socket had a full path and only needed the filename.

This commit is contained in:
2022-01-14 12:46:10 -05:00
parent 0fcef9985d
commit e15a76ec40

View File

@ -43,7 +43,7 @@ case "$invocation" in
readarray -d '' sockets < <(find "/tmp/tmux-$(id -u)" -maxdepth 1 -type s -print0) readarray -d '' sockets < <(find "/tmp/tmux-$(id -u)" -maxdepth 1 -type s -print0)
for socket in ${sockets[*]}; do for socket in ${sockets[*]}; do
printf '%s\n' "$socket" printf '%s\n' "$socket"
tmux -L "${socket}" list-sessions | sed 's/^/ /' tmux -L "$(basename "${socket}")" list-sessions | sed 's/^/ /'
done done
exit 0 exit 0
esac esac