From 0b0ca14a5fd0c694352fb938127342f980b7e45c Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Tue, 30 May 2023 12:12:51 -0400 Subject: [PATCH] Update advanced.md --- docs/configuration/advanced.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/configuration/advanced.md b/docs/configuration/advanced.md index 263531c..d1cf1f0 100644 --- a/docs/configuration/advanced.md +++ b/docs/configuration/advanced.md @@ -59,7 +59,13 @@ uda.taskwarrior-tui.shortcuts.2=~/.config/taskwarrior-tui/shortcut-scripts/sync. ... ``` -The file can have any name in any location, but must be executable. +The executable file can be placed in any location. + +To make a file executable: + +1. chmod +x /path/to/script +2. Add `#!/usr/bin/env bash`, `#!/usr/bin/env python` or whatever is appropriate for your script. + By default, keys `1`-`9` are available to run shortcuts. When you hit the shortcut, the script will be executed with the `selected_tasks_uuid` as an argument: