aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtag10
1 files changed, 10 insertions, 0 deletions
diff --git a/tag b/tag
new file mode 100755
index 0000000..0899f0c
--- /dev/null
+++ b/tag
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+CMD=`echo $0 | sed 's/.*\///g'`
+
+TAG="$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