1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02: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
+4 -3
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):