summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-03-31 15:33:20 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-03-31 15:33:20 -0400
commit5929cd30254b26ed886fab508904c48d1b687a1e (patch)
treef415c7228446b64acbdf3396a61e49e287a441e6
parent12035bf1d69860b89ffd4a113ee5804b2f107120 (diff)
newline in prompt
-rwxr-xr-xmw2
1 files changed, 1 insertions, 1 deletions
diff --git a/mw b/mw
index fcf71de..6d2534a 100755
--- a/mw
+++ b/mw
@@ -304,7 +304,7 @@ pick() { \
[ -z "$input" ] && return 1
title="$(echo "$numbered" | grep "$input" | awk '{print $2}')"
[ -z "$title" ] && printf "Invalid response." && return 1
- [ -n "$2" ] && printf "Are you sure you want to %s the \`%s\` account?" "$1" "$title" && read -r input && echo "$input" | grep -i "y\(es\)*" >/dev/null
+ [ -n "$2" ] && printf "Are you sure you want to %s the \`%s\` account?\\n" "$1" "$title" && read -r input && echo "$input" | grep -i "y\(es\)*" >/dev/null
}
delete() { sed -i "