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:
parent
891ce58272
commit
06293d3a17
6 changed files with 42 additions and 14 deletions
8
scripts/tmuxs/list-sessions.sh
Executable file
8
scripts/tmuxs/list-sessions.sh
Executable 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue