From 67eac1691d596bf9f2e84ae848d81a2c0bc29439 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 31 Jan 2018 23:02:09 +0100 Subject: [PATCH] vimplugin: remove option not on new line --- .scripts/vimplugin.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.scripts/vimplugin.sh b/.scripts/vimplugin.sh index d67e63f..240b3c3 100755 --- a/.scripts/vimplugin.sh +++ b/.scripts/vimplugin.sh @@ -124,7 +124,8 @@ update() { remove() { list - echo "Enter the number to remove: " && read OPTION + echo -n "Enter the number to remove: " + read OPTION if [ -z "$(echo $OPTION | sed -nr 's/^([0-9]+)$/\1/p')" ]; then echo "Please select a number"