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

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

TAG="Get $CMD |c+ |c- |latin"

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

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