aboutsummaryrefslogtreecommitdiff
path: root/tag.sh
blob: 8fe2aa25d42c76bff0d03265e9e272a504c0c93d (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

CMD=`echo $0 | sed 's/.*\///g'`

TAG="Get $CMD"

# Clear the tag before adding the new one
echo cleartag | 9p write acme/$winid/ctl

printf "\n$TAG\nEdit" | 9p write acme/$winid/tag