diff options
Diffstat (limited to '.config/tmux/popup.sh')
| -rwxr-xr-x | .config/tmux/popup.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/tmux/popup.sh b/.config/tmux/popup.sh new file mode 100755 index 0000000..7017cad --- /dev/null +++ b/.config/tmux/popup.sh @@ -0,0 +1,3 @@ +#!/bin/sh +parent=$(tmux display-message -p '#S') +tmux attach -t "popup-${parent}" 2>/dev/null || tmux new-session -s "popup-${parent}" |