diff options
Diffstat (limited to 'dot_config/bash/functions')
-rw-r--r-- | dot_config/bash/functions | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dot_config/bash/functions b/dot_config/bash/functions deleted file mode 100644 index 2835c92..0000000 --- a/dot_config/bash/functions +++ /dev/null @@ -1,13 +0,0 @@ -# vim: ft=sh - -wbp() { - blogdir="$HOME/docs/src/web/blog" - - read -rp "What is your title? " title - - path="$blogdir/content/$(date '+%Y-%m-%d')-${title,,}.md" - path=${path// /-} - - "$EDITOR" "$path" - printf "Your blogpost is saved at %s\n" "$path" -} |