mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +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
|
Installing
|
||||||
----------
|
----------
|
||||||
Do the following to install `cheat`:
|
|
||||||
|
|
||||||
1. Clone this repository and `cd` into it
|
### Installing for all users (requires root)
|
||||||
2. Run `$ sudo python setup.py install`
|
|
||||||
|
|
||||||
The `install` script will copy a python file into `/usr/local/bin/`, and will
|
Clone this repository and `cd` into it, then run
|
||||||
also create a hidden `.cheat` folder (containing the cheatsheet content) in
|
|
||||||
your home directory.
|
|
||||||
|
|
||||||
|
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
|
Modifying Cheatsheets
|
||||||
---------------------
|
---------------------
|
||||||
|
|
Loading…
Reference in a new issue