From 09811e64c6cb31ca27885d32a8e03249531d1a77 Mon Sep 17 00:00:00 2001 From: Michael Floering Date: Tue, 16 Feb 2021 12:35:10 -0800 Subject: [PATCH] README - small changes - for those newer to sh This is something we take for granted but newcomers to sh, Linux, and so on. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 36c4ff5..246c891 100644 --- a/README.md +++ b/README.md @@ -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):