From 5522f39034b45f8188f535bf38cb3e3f30cac072 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Fri, 24 Feb 2023 16:24:17 +0100 Subject: Move tag to tag.sh --- tag | 10 ---------- tag.sh | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100755 tag create mode 100755 tag.sh diff --git a/tag b/tag deleted file mode 100755 index 0899f0c..0000000 --- a/tag +++ /dev/null @@ -1,10 +0,0 @@ -#!/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 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 -- cgit v1.2.3