blob: 20b1d1894de59d2767254c0670ba0e54a606c078 (
plain)
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
|
#+AUTHOR: David Moc
#+EMAIL: personal@cdatgoose.org
* Tasker
Tasker is a simple task tracker written in Haskell.
It includes optional shell completion support for:
- fish
- bash
* Install
** Installer:
#+begin_src shell
./install.sh
#+end_src
This builds the executable with Cabal and installs it to:
- =/usr/local/bin/tasker=
The installer also detects your current shell and installs the matching completion file when available.
For fish, it installs:
- =/usr/share/fish/vendor_completions.d/tasker.fish=
For bash, it installs:
- =/usr/share/bash-completion/completions/tasker=
If a manpage is available, it is installed to:
- =/usr/local/share/man/man1/tasker.1=
** Manual:
#+begin_src shell
./install.sh --shell fish
./install.sh --shell bash
./install.sh --shell all
./install.sh --shell none
#+end_src
To skip installing the manpage:
#+begin_src shell
./install.sh --no-man
#+end_src
* Build only
To build Tasker without installing it:
#+begin_src shell
cabal build exe:tasker
#+end_src
You can locate the built executable with:
#+begin_src shell
cabal list-bin exe:tasker
#+end_src
Then copy it manually to a directory on your =$PATH=, for example:
#+begin_src shell
cp "$(cabal list-bin exe:tasker)" ~/.local/bin/tasker
#+end_src
|