helm/bin/is-tmux-attached

4 lines
88 B
Plaintext
Raw Normal View History

2015-12-22 23:23:23 -08:00
#!/usr/bin/env bash
[[ $(tmux display-message -p "#{?session_attached,1,0}") == "1" ]]