From 31d645b15bfde885ada913e5dff34e816fe316f4 Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Wed, 31 Jul 2019 21:24:59 +0530 Subject: add better annotations --- docs/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/index.html') diff --git a/docs/index.html b/docs/index.html index 9fbc18b..37a353b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -69,7 +69,8 @@ echo "$1" | sed -E -e "s/\..+$//g" -e "s/_(.)/ \u\1/g&
syntax off            # previously run commands
 edit index.html       # in a buffer!
 w | so %
-echo "new_post.md" | sed -E -e "s/\..+$//g"  -e "s/_(.)/ \u\1/g" -e "s/^(.)/\u\1/g"
+!echo "new_post.md" | sed -E -e "s/\..+$//g"  --snip--
+^--- note the use of '!'
 
  • Hit enter with the cursor on the line containing your command!

    -- cgit v1.2.3