aboutsummaryrefslogtreecommitdiff
path: root/tag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tag.sh')
-rwxr-xr-xtag.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tag.sh b/tag.sh
new file mode 100755
index 0000000..8fe2aa2
--- /dev/null
+++ b/tag.sh
@@ -0,0 +1,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