The script adds a new action to todo.sh, the todo.txt command line client, which allows to open documents referenced in a todo item. If more than one document is available a small menu will be shown. This allows you to easily acces documents that are required to accomplish the task.
Todo.txt uses a simple text file to store your items. Each single line represents a task. To install the script you have to copy it to your TODO_ACTIONS_DIR which defaults to $HOME/.todo/actions.d.
The following attachement types are supported:
url:*|www.*|http://*|https://* opens the URL in a web browser e.g.
note:* edit the note (requires the notesedit action). See https://github.com/the1ts/todo.txt-plugins
file:*|~/*|/* open the path with the installed default handler (requires xdg-open or open), e.g.
The action is part of my todo.txt repository: