/
taskopenrc.5
170 lines (124 loc) · 4.26 KB
/
taskopenrc.5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
.TH taskopenrc 5 2013-02-25 "taskopen v1.0" "User Manuals"
.SH NAME
taskopenrc \- Configuration file for the
.BR taskopen (1)
command
.SH SYNOPSIS
.B ~/.taskopenrc
.br
.B taskopen -c /path/to/taskopenrc
.SH DESCRIPTION
.B taskopen
obtains its configuration data from a file called
.I ~/.taskopenrc
in the user's home directory.
Each line in the taskopenrc file is either an assignment, a comment or empty.
An assignment consists of a variable name and a value separated by the equal sign ("="):
.RS
<variable name>=<value>
.RE
where the variable name is one of the names below.
A hash mark ("#") can be used to mark the beginning of a comment line.
.SH CONFIGURATION VARIABLES
Valid variable names and their default values are:
.SS General configuration
.TP
.BR BROWSER=xdg-open
The executable which will be used to open URIs.
.TP
.BR EDITOR=vim
Your preferred editor.
.TP
.BR TASKBIN=task
The path to your taskwarrior binary.
.TP
.BR PATH_EXT=/usr/share/taskopen/scripts
The given path(s) will be prepended to taskopen's PATH variable. The default value depends on the installation path.
.TP
.BR DEBUG=0
Set this to '1' if you want to enable additional debugging output.
.SS "Notes" files
.TP
.BR NOTES_FOLDER=~/tasknotes/
The directory in which the Notes files will be stored.
.TP
.BR NOTES_EXT=.txt
The file extension used for Notes files.
.TP
.BR NOTES_FILE
This sets the actual path of the Notes files. The string "UUID" will be replaced with the task's UUID. If not set, the value will be assembled by taking NOTES_FOLDER and NOTES_EXT: ${NOTES_FOLDER}UUID${NOTES_EXT}
.TP
.BR NOTES_CMD
Sets the command that will be executed to open a Notes file. If not set, the value will be assembled by taking EDITOR and NOTES_FILE: ${EDITOR} "${NOTES_FILE}".
.TP
.BR NOTES_REGEX=Notes
The regular expression which identifies an annotation as a link to the Notes file.
.SS Default arguments
.TP
.BR DEFAULT_FILTER=status.is:pending
The default taskwarrior filter that will be applied to all queries. Can be deactivted by using the -a or -A switches.
.TP
.BR DEFAULT_SORT
Specify the default sorting which may be overridden by the -s option.
.TP
.BR "DEFAULT-i=ls -la"
Default command for the -i parameter which allows using -i without an argument.
.TP
.BR DEFAULT-x
Default command for the -x parameter which allows using -x without an argument.
.SS Classification
.TP
.BR BROWSER_REGEX=www|http
The regular expression which identifies annotations openable by BROWSER.
.TP
.BR FILE_REGEX="\(rs.|\(rs/|~"
The regular expression that identifies file paths in annotations which will be opened by EDITOR or xdg-open.
.TP
.BR CUSTOM1_REGEX
The regular expression that identifies annotations openable by CUSTOM1_CMD.
.TP
.BR CUSTOM1_CMD
The command with which annotations matchin CUSTOM1_REGEX will be opened.
.TP
.BR CUSTOM2_REGEX
see CUSTOM1_REGEX
.TP
.BR CUSTOM2_CMD
see CUSTOM1_CMD
.SH EXAMPLES
.SS "Using the notes.vim plugin for Notes files"
.BR NOTES_FOLDER=~/Notes/vimnotes
.br
.BR NOTES_EXT=""
.br
.BR "NOTES_CMD=vim -c \(rs\(dq:Note UUID\(rs\(dq"
.IP
The notes.vim plugin can be found at
.I <http://peterodding.com/code/vim/notes/>
.SS "Link to mutt emails"
.BR CUSTOM1_REGEX=Message-[iI][dD]:|message:
.br
.BR "CUSTOM1_CMD=pipe.sh echo muttjump"
.IP
Thanks to Jostein Berntsen, the old bash version of taskopen had support for linking to your emails by using mutt. This feature can still be enabled by setting the CUSTOM1_REGEX and CUSTOM1_CMD appropriately, given that taskopen's PATH contains the path to the corresponding helper scripts (see PATH_EXT).
Taskopen then uses muttjump to open the mutt mailboxes natively or in a screen window (very quick
and effective). The muttjump can be found at
.I <https://github.com/weisslj/muttjump>
.SH "CREDITS & COPYRIGHTS"
Copyright (C) 2010 \- 2013, J. Schlatow
Taskopen is distributed under the GNU General Public License. See
.I http://www.opensource.org/licenses/gpl-2.0.php
for more information.
.SH SEE ALSO
.BR taskopen (1)
For more information regarding taskopen, see the following:
The official site at
.TP
.I <https://github.com/ValiValpas/taskopen/>
The official code repository at
.TP
.I <git://github.com/ValiValpas/taskopen.git>
.SH REPORTING BUGS
.TP
Bugs in taskopen may be reported to the issue-tracker at
.I <https://github.com/ValiValpas/taskopen/issues>