repo.or.cz
/
dvtm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vt: more renames
[dvtm.git]
/
dvtm-status
blob
6062248fd6f7979dd24a202aaad9e0c47cb6a818
1
#!/bin/sh
2
3
FIFO
=
"/tmp/dvtm-status.$$"
4
5
[
-e
"
$FIFO
"
]
||
mkfifo
"
$FIFO
"
6
chmod
600
$FIFO
7
8
while
true
;
do
9
date
+%
H
:%
M
10
sleep
60
11
done
>
$FIFO
&
12
13
STATUS_PID
=
$
!
14
dvtm
-s
$FIFO
"$@"
2
> /
dev
/
null
15
kill
$STATUS_PID
16
rm
$FIFO