From 517d0fe0b5d39667f709a866a7abe20274a30d23 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 3 Sep 2018 19:39:11 -0400 Subject: [PATCH] ui change --- lb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lb b/lb index 8f5f61d..77d9e9b 100755 --- a/lb +++ b/lb @@ -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." }