mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 13:42:11 +01:00
Add a non-root section to the installation guide.
This commit is contained in:
parent
63b0ffba14
commit
1944c1a351
1 changed files with 12 additions and 6 deletions
18
README.md
18
README.md
|
@ -47,15 +47,21 @@ to store notes on your favorite cookie recipes, feel free.
|
|||
|
||||
Installing
|
||||
----------
|
||||
Do the following to install `cheat`:
|
||||
|
||||
1. Clone this repository and `cd` into it
|
||||
2. Run `$ sudo python setup.py install`
|
||||
### Installing for all users (requires root)
|
||||
|
||||
The `install` script will copy a python file into `/usr/local/bin/`, and will
|
||||
also create a hidden `.cheat` folder (containing the cheatsheet content) in
|
||||
your home directory.
|
||||
Clone this repository and `cd` into it, then run
|
||||
|
||||
sudo python setup.py install
|
||||
|
||||
### Installing in your home directory
|
||||
|
||||
Clone this repository and `cd` into it, then run
|
||||
|
||||
mkdir -p ~/bin
|
||||
cp cheat ~/bin
|
||||
mkdir ~/.cheat
|
||||
cp cheatsheets/* ~/.cheat
|
||||
|
||||
Modifying Cheatsheets
|
||||
---------------------
|
||||
|
|
Loading…
Reference in a new issue