Skip to content

Commit

Permalink
chore: update package name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpasmantier committed Sep 14, 2024
1 parent 495a3f1 commit e5e6f1f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "grip-grab"
name = "grip-grep"
version = "0.3.0"
edition = "2021"
authors = ["Alexandre Pasmantier <[email protected]>"]
license = "Apache-2.0"
description = "A faster, more lightweight ripgrep alternative."
readme = "README.md"
homepage = "https://github.com/alexpasmantier/grip-grab"
repository = "https://github.com/alexpasmantier/grip-grab"
homepage = "https://github.com/alexpasmantier/grip-grep"
repository = "https://github.com/alexpasmantier/grip-grep"
keywords = ["cli", "search", "grep", "ripgrep", "rust"]
categories = [
"command-line-utilities",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# grip-grab (`gg`) 🧤
# grip-grep (`gg`) 🧤

A circumstantially faster, more lightweight, ripgrep-inspired alternative.

Expand All @@ -14,10 +14,10 @@ https://github.com/user-attachments/assets/0bce247c-7a03-4f62-a29f-51da3c6a54b8
## Installation
### Using Cargo
```bash
cargo install grip-grab
cargo install grip-grep
```

**NOTE:** if using zsh with the `git` plugin, you might need to unalias `gg` in order for grip-grab's `gg` to work:
**NOTE:** if using zsh with the `git` plugin, you might need to unalias `gg` in order for grip-grep's `gg` to work:
```sh
echo 'unalias gg' >> ~/.zshrc
source ~/.zshrc
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::{printer::PrintMode, utils};
use clap::{ArgAction, Parser, Subcommand};

#[derive(Parser, Debug)]
#[command(name = "grip-grab")]
#[command(name = "grip-grep")]
#[command(bin_name = "gg")]
#[command(version, about = "A somewhat faster, more lightweight, ripgrep-inspired alternative.", long_about = None, arg_required_else_help=true)]
pub struct Cli {
Expand Down
2 changes: 1 addition & 1 deletion src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn upgrade_gg(force: bool) {
println!("└─────────────────────────────────────────┘\n");

let mut command = Command::new("cargo");
command.arg("install").arg("grip-grab");
command.arg("install").arg("grip-grep");
if force {
command.arg("--force");
}
Expand Down

0 comments on commit e5e6f1f

Please sign in to comment.