parent
cc48e73a96
commit
fa7fecff33
4 changed files with 19 additions and 20 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
case "$winid" in
|
||||
[0-9]*)
|
||||
|
|
@ -12,5 +12,11 @@ unix!*)
|
|||
exit 0
|
||||
esac
|
||||
|
||||
case "$TMUX" in
|
||||
?*)
|
||||
tmux capture-pane -p
|
||||
exit 0
|
||||
esac
|
||||
|
||||
echo 'no running window found' 2>&1
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue