## Installation
Currently you need nightly to build histdb-rs. We are using the strip
functinality to decrease the binary size automatically.
```
cargo +nightly install --path .
```
After that you need to start the server. This might change in the future.
```
histdb-rs server
```
to stop the server you have to run
```
histdb-rs stop
```
In the future `CTRL+C` should also work.
You can also use the systemd unit file in
[`histdb-rs.service`](histdb-rs.service) which you can copy to
`"$HOME/.config/systemd` and enable/start with the following:
```
systemctl --user daemon-reload
systemctl --user enable histdb-rs.service
systemctl --user start histdb-rs.service
```
After that you can add the following to your `.zshrc` to enable histdb-rs for
you shell.
```
eval "$(histdb-rs init)"
```