aboutsummaryrefslogtreecommitdiff
path: root/bin/add-new.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/add-new.sh')
-rw-r--r--bin/add-new.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/add-new.sh b/bin/add-new.sh
index 2f7da1f..c82bc70 100644
--- a/bin/add-new.sh
+++ b/bin/add-new.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-export NEWS_FILE=$(date +%Y%m%d_%H%M%S)"
+export NEWS_FILE="$(date +%Y%m%d_%H%M%S)"
vi $NEWS_FILE
git add $NEWS_FILE
git commit -m "$(head -n 1 $NEWS_FILE)"