Merge pull request #540 from chrisallenlane/master

fix: README and Makefil
This commit is contained in:
Chris Allen Lane 2020-02-26 19:29:04 -05:00 committed by GitHub
commit 7be57cb01c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ releases := \
## build: builds an executable for your architecture
.PHONY: build
build: $(dist_dir) clean generate
build: $(dist_dir) clean vendor generate
$(GO) build $(BUILD_FLAGS) -o $(dist_dir)/cheat $(cmd_dir)
## build-release: builds release executables
@ -85,7 +85,7 @@ generate:
## install: builds and installs cheat on your PATH
.PHONY: install
install:
install: build
$(GO) install $(BUILD_FLAGS) $(GOBIN) $(cmd_dir)
## clean: removes compiled executables

View file

@ -194,7 +194,7 @@ cheat -p personal -t networking --regex -s '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
Advanced Usage
--------------
Shell autocompletion is currently available for the `bash` and `fish` shells.
Copy the relevant [completion script][completion-scripts] into the appropriate
Copy the relevant [completion script][completions] into the appropriate
directory on your filesystem to enable autocompletion. (This directory will
vary depending on operating system and shell specifics.)
@ -206,6 +206,6 @@ integration:
2. Set an envvar: `export CHEAT_USE_FZF=true`
[Releases]: https://github.com/cheat/cheat/releases
[bash]: https://github.com/cheat/cheat/blob/master/scripts/fzf.bash
[cheatsheets]: https://github.com/cheat/cheatsheets
[completions]: https://github.com/cheat/cheat/tree/master/scripts
[fzf]: https://github.com/junegunn/fzf