forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
3a5cb33d5c
commit
bbe848b5a6
2
new.sh
2
new.sh
|
@ -18,11 +18,13 @@ echo "---" >> "content/news/${date}-${title_}/index.de.md"
|
|||
|
||||
git add "content/news/${date}-${title_}/"
|
||||
git commit -m "${date}-${title_}"
|
||||
|
||||
for i in vim nano gedit kate; do
|
||||
if command -v $i > /dev/null; then
|
||||
editor="$i"
|
||||
fi
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
echo "Schreibe nun mit einem einfachen Editor deinen Artikel."
|
||||
|
|
Loading…
Reference in New Issue
Block a user