mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
fa7fecff33
Fixes #223.
22 lines
251 B
Bash
Executable file
22 lines
251 B
Bash
Executable file
#!/bin/bash
|
|
|
|
case "$winid" in
|
|
[0-9]*)
|
|
9p read acme/$winid/body
|
|
exit 0
|
|
esac
|
|
|
|
case "$text9term" in
|
|
unix!*)
|
|
dial -e $text9term </dev/null
|
|
exit 0
|
|
esac
|
|
|
|
case "$TMUX" in
|
|
?*)
|
|
tmux capture-pane -p
|
|
exit 0
|
|
esac
|
|
|
|
echo 'no running window found' 2>&1
|
|
exit 1
|