diff options
Diffstat (limited to '.config/bash/functions')
-rw-r--r-- | .config/bash/functions | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.config/bash/functions b/.config/bash/functions index 83c6fe8..9bc7c83 100644 --- a/.config/bash/functions +++ b/.config/bash/functions @@ -1,17 +1,5 @@ # 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" -} - xb() { # function for handling xbps in a nicer way case $1 in |