From 91adbac64f15603f0dd727d83eea31e79b7ed7c6 Mon Sep 17 00:00:00 2001 From: iff Date: Sat, 5 Aug 2023 03:22:05 +0200 Subject: [PATCH] pkgname: change to pay-respects --- Cargo.toml | 2 +- README.md | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 47188cf..ced5f47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "pay_respects" +name = "pay-respects" version = "0.4.0" edition = "2021" diff --git a/README.md b/README.md index 5b2c1d3..9a759bf 100644 --- a/README.md +++ b/README.md @@ -18,19 +18,19 @@ The binary is named `pay-respects`, by adding an alias to your shell configuration: ``` shell # Note: You may need to have the binary exposed in your path -alias f="$(pay_respects )" +alias f="$(pay-respects )" # for example, using `zsh`: -alias f="$(pay_respects zsh)" +alias f="$(pay-respects zsh)" # Alternatively, you can also use the following initialization in your config file # for bash and zsh -eval "$(pay_respects --alias)" +eval "$(pay-respects --alias)" # for fish -pay_respects fish --alias | source +pay-respects fish --alias | source # for `nushell`, the alias can be added automatically with: -pay_respects nushell +pay-respects nushell ``` You can now **press `F` to Pay Respects**! @@ -38,23 +38,23 @@ Currently, only corrections to `bash`, `zsh`, and `fish` are working flawlessly. `nushell` has broken aliases, therefore it has following 2 limitations: -- You have to manually add the output of `pay_respects nushell` to your configuration as alias +- You have to manually add the output of `pay-respects nushell` to your configuration as alias - Aliased commands cannot be expanded to their original command ## Installing If you are using Arch Linux, you can install from AUR directly: ```shell -paru -S pay_respects +paru -S pay-respects ``` -Alternatively, you can download Linux binary from [releases](https://github.com/iffse/pay_respects/releases). +Alternatively, you can download Linux binary from [releases](https://github.com/iffse/pay-respects/releases). Otherwise, you can use cargo to compile the project: ``` cargo build --release ``` -and the binary can be found at `target/release/pay_respects`. +and the binary can be found at `target/release/pay-respects`. ## Rule Files