ui change

This commit is contained in:
Luke Smith 2018-09-03 19:39:11 -04:00
parent a91ffe925d
commit 517d0fe0b5
1 changed files with 1 additions and 1 deletions

2
lb
View File

@ -75,7 +75,7 @@ delete() { \
discard() { \
listandReturn "$draftdir/*.html" discard
base=$(echo "$chosen" | cut -f1 -d'.')
read -rp "Really discard \"$base\"? (y/N) " choice
read -rp "Really discard \"$(basename $chosen)\"? (y/N) " choice
[[ $choice =~ [Yy] ]] || exit
rm "$chosen" && echo "Blog draft discarded."
}