Add bin/is-tmux-attached
This commit is contained in:
parent
931f7488b5
commit
0f0e1b007c
3
bin/is-tmux-attached
Executable file
3
bin/is-tmux-attached
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
[[ $(tmux display-message -p "#{?session_attached,1,0}") == "1" ]]
|
Loading…
Reference in a new issue