diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-03-31 15:33:20 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-03-31 15:33:20 -0400 |
commit | 5929cd30254b26ed886fab508904c48d1b687a1e (patch) | |
tree | f415c7228446b64acbdf3396a61e49e287a441e6 /mw | |
parent | 12035bf1d69860b89ffd4a113ee5804b2f107120 (diff) |
newline in prompt
Diffstat (limited to 'mw')
-rwxr-xr-x | mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 " |