update: Installation

This commit is contained in:
iff 2023-07-30 22:10:55 +02:00
parent d29af0e3d7
commit 58af6c17fc

View file

@ -7,10 +7,24 @@ Typed a wrong command? Pay Respect will try to correct your wrong console comman
The binary is named `pay-respect`, by adding an alias to your shell
configuration:
``` shell
# Note: You may need to have the binary exposed in your path
alias f="pay_respect"
```
You can now **press `F` to Pay Respect**!
## Installing
If you are using Arch Linux, you can install from AUR directly:
```shell
paru -S pay_respect
```
Otherwise, you can use cargo to compile the project:
```
cargo build --release
```
and the binary can be found at `target/release/pay_respect`.
## Rule Files
Rule files are parsed at compilation. What actually gets compiled is a HashMap that contains patterns and suggestions for a specific command.