Correct filter to get task ID

This commit is contained in:
Jeremy Gardais 2020-12-17 10:50:48 +01:00
parent 951faedbb4
commit a87a024dd5
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

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 ----------