Skip to content

Commit 09811e6

Browse files
authored
README - small changes - for those newer to sh
This is something we take for granted but newcomers to sh, Linux, and so on.
1 parent 815df01 commit 09811e6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,10 @@ has several useful features compared to querying the service directly with `curl
205205
To install the client:
206206

207207
```
208-
mkdir -p ~/bin/
209-
curl https://cht.sh/:cht.sh > ~/bin/cht.sh
210-
chmod +x ~/bin/cht.sh
208+
PATH_DIR="$HOME/bin" # or another directory on your $PATH
209+
mkdir -p "$PATH_DIR"
210+
curl https://cht.sh/:cht.sh > "$PATH_DIR/cht.sh"
211+
chmod +x "$PATH_DIR/cht.sh"
211212
```
212213

213214
or to install it globally (for all users):

0 commit comments

Comments
 (0)