Read the task's name and uses as default (#249)

Read the task's name and uses as default, so the user can read the previous task's name.

Thanks @guifeliper
This commit is contained in:
Guilherme Reis
2018-03-26 19:23:27 +01:00
committed by Ali Karbassi
parent e40e76fb07
commit 7ec2a1263e

View File

@@ -427,7 +427,7 @@ replaceOrPrepend()
if [[ -z "$1" && $TODOTXT_FORCE = 0 ]]; then
echo -n "$querytext"
read -e -r input
read -r -i $todo -e input
else
input=$*
fi