From d63c6bc8e4486a79529c983818e7a0ce70a8bd6f Mon Sep 17 00:00:00 2001 From: Vitor Gonçalves Date: Tue, 5 Dec 2023 01:10:29 -0300 Subject: bash: removed useless function i copied wbp from the old repo and i don't want it --- .config/bash/functions | 12 ------------ 1 file changed, 12 deletions(-) (limited to '.config') 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 -- cgit 1.4.1-2-gfad0