1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-22 10:01:27 +03:00

README - small changes - for those newer to sh

This is something we take for granted but newcomers to sh, Linux, and so on.
This commit is contained in:
Michael Floering 2021-02-16 12:35:10 -08:00 committed by GitHub
parent 815df01c7d
commit 09811e64c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,9 +205,10 @@ has several useful features compared to querying the service directly with `curl
To install the client:
```
mkdir -p ~/bin/
curl https://cht.sh/:cht.sh > ~/bin/cht.sh
chmod +x ~/bin/cht.sh
PATH_DIR="$HOME/bin" # or another directory on your $PATH
mkdir -p "$PATH_DIR"
curl https://cht.sh/:cht.sh > "$PATH_DIR/cht.sh"
chmod +x "$PATH_DIR/cht.sh"
```
or to install it globally (for all users):