Correct filter to get task ID

This commit is contained in:
gardouille 2020-12-17 10:50:48 +01:00
parent 951faedbb4
commit a87a024dd5
Signed by: gardouille
GPG Key ID: E759BAA22501AF32

View File

@ -14,7 +14,7 @@ TASKWARRIOR_PATH="${HOME}/.task"
# Current task path
TASK_NAME="${1}"
TASK_PATH="${TASKWARRIOR_PATH}/.current.task"
TASK_ID=$(task description.is:"${TASK_NAME}" ids)
TASK_ID=$(task "/${TASK_NAME}/" ids)
# --------- Dependancies ----------