fix: read without -r is generally bad.

The yes/no prompt doesn't need backslash escaped characters.
This commit is contained in:
Christian Höltje 2021-11-07 12:03:16 -05:00 committed by GitHub
parent 789eb023b1
commit 00c70a434d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ echo "▓▒░ Would you like to add 4 useful plugins" \
"It will be the following snippet:"
command cat "$file"
echo -n "▓▒░ Enter y/n and press Return: "
read input
read -r input
if [ "$input" = y ] || [ "$input" = Y ]; then
command cat "$file" >> "$THE_ZDOTDIR"/.zshrc
echo