mirror of https://github.com/cheat/cheat.git
Updated the README.
This commit is contained in:
parent
30e4078688
commit
f1cdfa6dd9
21
README.md
21
README.md
|
@ -128,25 +128,16 @@ Creating/Editing Cheatsheets
|
||||||
Provided that you have an `EDITOR` environment variable set, you may create new
|
Provided that you have an `EDITOR` environment variable set, you may create new
|
||||||
cheatsheets via:
|
cheatsheets via:
|
||||||
|
|
||||||
```bash
|
|
||||||
cheat -c foo
|
|
||||||
```
|
|
||||||
|
|
||||||
By default, `cheat` will attempt to write the new cheatsheet to `~/.cheat`,
|
|
||||||
creating the `~/.cheat` directory if necessary. (If it is unable to do so, the
|
|
||||||
new cheatsheet will be written to the default cheatsheet directory instead,
|
|
||||||
though this will likely require `sudo`.)
|
|
||||||
|
|
||||||
Likewise, an existing cheatsheet may be edited via:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cheat -e foo
|
cheat -e foo
|
||||||
```
|
```
|
||||||
|
|
||||||
Command Autocompletion in zsh
|
If the 'foo' cheatsheet already exists, it will be opened for editing.
|
||||||
-----------------------------
|
|
||||||
`zsh` users may use `cheat -d` in coordination with the provided `\_cheat` file
|
By default, `cheat` will attempt to write new cheatsheets to `~/.cheat`, and
|
||||||
to implement autocompletion [as described here][4].
|
will create the `~/.cheat` directory if necessary. If it is unable to do so,
|
||||||
|
the new cheatsheet will be written to the default cheatsheet directory instead,
|
||||||
|
though this will likely require `sudo`.
|
||||||
|
|
||||||
|
|
||||||
Contributing
|
Contributing
|
||||||
|
|
Loading…
Reference in New Issue