about summary refs log tree commit diff stats
path: root/.config
diff options
context:
space:
mode:
authorVitor Gonçalves <vitorg@tilde.team>2023-12-05 01:10:29 -0300
committerVitor Gonçalves <vitorg@tilde.team>2023-12-05 01:10:29 -0300
commitd63c6bc8e4486a79529c983818e7a0ce70a8bd6f (patch)
tree4840122f56a1a28ce81fe555bc3176c809c804f3 /.config
parentb3cf484581ba19b07adc344431b62b3ddde74409 (diff)
downloaddots-d63c6bc8e4486a79529c983818e7a0ce70a8bd6f.tar.gz
bash: removed useless function
i copied wbp from the old repo and i don't want it
Diffstat (limited to '.config')
-rw-r--r--.config/bash/functions12
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