aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/main.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/main.ml b/bin/main.ml
index 385f273..13d7f6d 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -91,8 +91,8 @@ let headlines_cmd =
"function capture {\n\
\ JRNL=\"\\$STITCH_DIRECTORY/\\$(date +'%y-%m-%d.%H:%M.%S').org\"\n\
\ echo '* ' > /tmp/capture \n\
- \ $EDITOR /tmp/capture +1\n\
- \ if grep -q '^\\*\\s*\\$' /tmp/capture \n\
+ \ \\$EDITOR /tmp/capture +1\n\
+ \ if grep -q '^\\\\*\\\\s*\\$' /tmp/capture \n\
\ then \n\
\ echo \"Empty capture; ignoring\"\n\
\ else \n\
@@ -124,7 +124,7 @@ let headlines_cmd =
\ JRNL=\"\\$STITCH_DIRECTORY/\\$(date +'%y-%m-%d.%H:%M.%S').org\"\n\
\ echo '* TODO ' > /tmp/capture\n\
\ \\$EDITOR /tmp/capture +1\"\n\
- \ if grep -q '^\\* TODO\\s*\\$' /tmp/capture \n\
+ \ if grep -q '^\\\\* TODO\\\\s*\\$' /tmp/capture \n\
\ then \n\
\ echo \"Empty capture\"\n\
\ else \n\