From ea0645340f35a0425a512909fac4d9704ef3d156 Mon Sep 17 00:00:00 2001 From: pablomalo Date: Wed, 8 Jun 2022 07:41:27 +0200 Subject: [PATCH 1/4] In README, update go installation command Fixes #666 --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57b4c178..5a667e45 100644 --- a/README.md +++ b/README.md @@ -48,12 +48,16 @@ Installing `cheat` has no dependencies. To install it, download the executable from the [releases][] page and place it on your `PATH`. -Alternatively, if you have [go][] installed, you may install `cheat` using `go -get`: +Alternatively, you may use [go][] if is installed on your system. +For Go up to version v1.17: ```sh go get -u github.com/cheat/cheat/cmd/cheat ``` +For Go as of version 1.17: +``` +go install github.com/cheat/cheat/cmd/cheat@latest +``` Configuring ----------- From 5b433be85146c187514d346763d8b077ed6f8584 Mon Sep 17 00:00:00 2001 From: pablomalo Date: Wed, 8 Jun 2022 15:42:14 +0200 Subject: [PATCH 2/4] Improve markdown --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a667e45..f003250b 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ For Go up to version v1.17: go get -u github.com/cheat/cheat/cmd/cheat ``` For Go as of version 1.17: -``` +```sh go install github.com/cheat/cheat/cmd/cheat@latest ``` From 7d0758f7ce380abb8744ac040e8514b264b603e4 Mon Sep 17 00:00:00 2001 From: pablomalo Date: Wed, 8 Jun 2022 15:43:03 +0200 Subject: [PATCH 3/4] Change capitalization --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f003250b..30b4f6b3 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,11 @@ Installing Alternatively, you may use [go][] if is installed on your system. -For Go up to version v1.17: +For go up to version v1.17: ```sh go get -u github.com/cheat/cheat/cmd/cheat ``` -For Go as of version 1.17: +For go as of version 1.17: ```sh go install github.com/cheat/cheat/cmd/cheat@latest ``` From 749411bdc0c8de46517d05683497d462602cfd6e Mon Sep 17 00:00:00 2001 From: pablomalo Date: Wed, 8 Jun 2022 15:43:58 +0200 Subject: [PATCH 4/4] Homogeneize syntax --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30b4f6b3..b7e71123 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,11 @@ Installing Alternatively, you may use [go][] if is installed on your system. -For go up to version v1.17: +For go up to v1.17: ```sh go get -u github.com/cheat/cheat/cmd/cheat ``` -For go as of version 1.17: +For go as of v1.17: ```sh go install github.com/cheat/cheat/cmd/cheat@latest ```