aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: da3109fe8e84a237b88b5f61385cbdfde6651b60 (plain) (blame)
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
# remembering

Add memory to [`dmenu`][dmenu], [`fzf`][fzf] and similar tools.

## Usage

Replace:
```shell
$ ls | fzf
```

with:
```shell
$ ls | remembering -p fzf-sample -c fzf
```

and see your previous choices from `fzf` start to appear at the beginning of the list.

Similar to [`yeganesh`][yeganesh], but with no build-time or run-time dependencies, and not coupled with `dmenu`.

[dmenu]: https://tools.suckless.org/dmenu/
[fzf]: https://github.com/junegunn/fzf
[yeganesh]: http://dmwit.com/yeganesh/

## Installation

Get the latest tarball and install it:

```shell
wget https://git.euandreh.xyz/remembering/snapshot/remembering-main.tar.gz
pax -rzf remembering-main.tar.gz # or similarly: tar xf remembering-main.tar.gz
cd remembering-main
make
[sudo] make install
```

The requirements are a C99 compiler on a POSIX.1-2008
environment (`_POSIX_C_SOURCE 200809L`).

## Documentation

Documentation available via installed manpages or online: [`remembering.1`](remembering.1.html) and [`remembering.5`](remembering.5.html).

## Contributing

Extra tools used for development are:
- [fallible] and [Valgrind] for memory testing;
- [ShellCheck] for validating scripts;
- [pandoc], troff and Perl for generating the documentation HTML and website.

[fallible]: https://fallible.euandreh.xyz
[Valgrind]: https://valgrind.org
[ShellCheck]: https://www.shellcheck.net/
[pandoc]: https://pandoc.org/

For extra development-only checks such as memory tests, run:

```shell
$ make dev-check
```

and for generating the documentation HTML and website, run:

```shell
$ make public
```