Marty Oehme
d10db1be7d
Fixed taskopen script not opening the correct numbered task when passed one (either on the command line with `to <id>` or through taskwarrior with `t <id> open`). Now it does directly open the correct note.
20 lines
477 B
Text
20 lines
477 B
Text
[General]
|
|
EDITOR = nvim
|
|
taskbin = task
|
|
path_ext = /usr/share/taskopen/scripts
|
|
|
|
[Actions]
|
|
note_custom_ext.regex = "^Note\\.?(.*)?"
|
|
note_custom_ext.command = "$EDITOR ${XDG_DATA_HOME:-$HOME/.local/share}/task/notes/$UUID.$LAST_MATCH"
|
|
|
|
notes.regex = "^Note$"
|
|
notes.command = "$EDITOR ${XDG_DATA_HOME:-$HOME/.local/share}/task/notes/$UUID.md"
|
|
|
|
links.regex = "^https?://"
|
|
links.command = "open $FILE"
|
|
|
|
mail.regex = "^<.*@.*>$"
|
|
mail.command = "notmuch show mid:${FILE:1:-1}"
|
|
|
|
[CLI]
|
|
|