"tls" for tmux was broken. $socket had a full path and only needed the filename.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user