bash: removed useless function
i copied wbp from the old repo and i don't want it
This commit is contained in:
parent
b3cf484581
commit
d63c6bc8e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue