From bf2d539332e2f83605fe8386670d9377bc505d23 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 5 Aug 2020 22:48:51 +0200 Subject: README: Update install/uninstall commands Got an error: error: failed to open: /usr/local/.crates.toml when I tried the command with the `--root /usr/local` argument, so decided to remove it. Need to use the root crate name in the `cargo uninstall` command. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3304558..7107aa9 100644 --- a/README.md +++ b/README.md @@ -67,12 +67,12 @@ On Mac OS X, Git-Suggestion can be installed with Homebrew: To compile from source or install on other platforms: - $ cargo install --git https://github.com/teddywing/git-suggestion.git --root /usr/local + $ cargo install --git https://github.com/teddywing/git-suggestion.git ## Uninstall - $ cargo uninstall --root /usr/local git-suggestion + $ cargo uninstall github-suggestion-cli ## License -- cgit v1.2.3