From b2cbf519e3476db5453352f2c77f3dcbf5d8a76d Mon Sep 17 00:00:00 2001 From: Albony Cal <67057319+Albonycal@users.noreply.github.com> Date: Sun, 13 Mar 2022 13:14:41 +0530 Subject: [PATCH 1/2] Improved installation instructions `curl` using the `-s` and added missing `sudo` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4af6d786..03b1d416 100644 --- a/README.md +++ b/README.md @@ -218,8 +218,8 @@ chmod +x "$PATH_DIR/cht.sh" or to install it globally (for all users): ```bash -curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh -chmod +x /usr/local/bin/cht.sh +curl -s https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh +sudo chmod +x /usr/local/bin/cht.sh ``` Note: The package "rlwrap" is a required dependency to run in shell mode. Install this using `sudo apt install rlwrap` From a023fdd4bfbcdeab379a1d61d8fe6d0004b51e63 Mon Sep 17 00:00:00 2001 From: Albony Cal <67057319+Albonycal@users.noreply.github.com> Date: Sun, 13 Mar 2022 17:57:58 +0530 Subject: [PATCH 2/2] updated installation instructions --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 03b1d416..b173ed1f 100644 --- a/README.md +++ b/README.md @@ -218,8 +218,7 @@ chmod +x "$PATH_DIR/cht.sh" or to install it globally (for all users): ```bash -curl -s https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh -sudo chmod +x /usr/local/bin/cht.sh +curl -s https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh && sudo chmod +x /usr/local/bin/cht.sh ``` Note: The package "rlwrap" is a required dependency to run in shell mode. Install this using `sudo apt install rlwrap`