lb

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 517d0fe0b5d39667f709a866a7abe20274a30d23
parent a91ffe925d604732ebeb81b6c1e6aafed8c4f46e
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon,  3 Sep 2018 19:39:11 -0400

ui change

Diffstat:
Mlb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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." }