mirror of https://github.com/cheat/cheat.git
fix(README): clarify installation verbiage
Update the installation verbiage in the `README` for clarity (issue #597).
This commit is contained in:
parent
857119b443
commit
0718b606e1
13
README.md
13
README.md
|
@ -47,17 +47,17 @@ Installing
|
||||||
`cheat` has no dependencies. To install it, download the executable from the
|
`cheat` has no dependencies. To install it, download the executable from the
|
||||||
[releases][] page and place it on your `PATH`.
|
[releases][] page and place it on your `PATH`.
|
||||||
|
|
||||||
|
Alternatively, if you have [go][] installed, you may install `cheat` using `go
|
||||||
|
get`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
go get -u github.com/cheat/cheat/cmd/cheat
|
||||||
|
```
|
||||||
|
|
||||||
Configuring
|
Configuring
|
||||||
-----------
|
-----------
|
||||||
### conf.yml ###
|
### conf.yml ###
|
||||||
`cheat` is configured by a YAML file that will be auto-generated on first run.
|
`cheat` is configured by a YAML file that will be auto-generated on first run.
|
||||||
Should you need to create a config file manually, you can do
|
|
||||||
so via:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
mkdir -p ~/.config/cheat && cheat --init > ~/.config/cheat/conf.yml
|
|
||||||
```
|
|
||||||
|
|
||||||
By default, the config file is assumed to exist on an XDG-compliant
|
By default, the config file is assumed to exist on an XDG-compliant
|
||||||
configuration path like `~/.config/cheat/conf.yml`. If you would like to store
|
configuration path like `~/.config/cheat/conf.yml`. If you would like to store
|
||||||
|
@ -211,3 +211,4 @@ Additionally, `cheat` supports enhanced autocompletion via integration with
|
||||||
[cheatsheets]: https://github.com/cheat/cheatsheets
|
[cheatsheets]: https://github.com/cheat/cheatsheets
|
||||||
[completions]: https://github.com/cheat/cheat/tree/master/scripts
|
[completions]: https://github.com/cheat/cheat/tree/master/scripts
|
||||||
[fzf]: https://github.com/junegunn/fzf
|
[fzf]: https://github.com/junegunn/fzf
|
||||||
|
[go]: https://golang.org
|
||||||
|
|
Loading…
Reference in New Issue