diff options
author | Vitor Gonçalves <vitorg@tilde.team> | 2023-12-05 01:10:29 -0300 |
---|---|---|
committer | Vitor Gonçalves <vitorg@tilde.team> | 2023-12-05 01:10:29 -0300 |
commit | d63c6bc8e4486a79529c983818e7a0ce70a8bd6f (patch) | |
tree | 4840122f56a1a28ce81fe555bc3176c809c804f3 /.config | |
parent | b3cf484581ba19b07adc344431b62b3ddde74409 (diff) | |
download | dots-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/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 |