1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

adding new tmux session scripts

This commit is contained in:
Henrik Hautakoski 2024-11-03 13:52:59 +01:00
parent 891ce58272
commit 06293d3a17
6 changed files with 42 additions and 14 deletions

8
scripts/tmuxs/list-sessions.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
# if [[ ! -z $TMUX ]]; then
# tmux list-sessions -F '#{?session_attached,,#{session_name}}' | grep '\S'
# else
tmux list-sessions -F '#{session_name}'
# fi