tMade post.sh a bit more verbose and added 80 textwidth - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit bbb680b4d16c783a987f654eb93ccdf9ef27417e
(DIR) parent 66f9207037c43726a8eb1748909c2ccd5ff1bb8d
(HTM) Author: z3bra <willy@mailoo.org>
Date: Wed, 30 Apr 2014 10:59:38 +0200
Made post.sh a bit more verbose and added 80 textwidth
Diffstat:
M post.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/post.sh b/post.sh
t@@ -25,7 +25,7 @@ cat <<EOF > ${post}
### [${title}](#)
## — ${date}
-<!-- vim: set ft=markdown ts=4 et: -->
+<!-- vim: set ft=markdown ts=4 et tw=80: -->
EOF
if ! test -f ${post}; then
t@@ -33,7 +33,7 @@ if ! test -f ${post}; then
exit 1
fi
-echo "$post created"
+echo "$post created (symlinked to last.txt)"
# create a symlink to the last post, to easily access it
ln -fs ${post} last.txt