From 2032e0b047840ade0d362f145de7d9b1e0b1ab5c Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Tue, 6 Nov 2018 01:26:21 +0100 Subject: [PATCH 1/3] Update VSCode features --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8459347..de55167 100644 --- a/README.md +++ b/README.md @@ -471,7 +471,7 @@ Features supported by cheat.sh plugins for different editors: |Prev/next answer | | |✓ | | |Multiple answers | |✓ | | | |Warnings as queries| | |✓ | | -|Queries history | | |✓ | | +|Queries history | | |✓ |✓ | |Session id | | |✓ | | |Configurable server|✓ | |✓ |✓ | From fc9c953e10b8f4fae8bffda5845f2052192abe8f Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sun, 23 Dec 2018 12:35:02 +0100 Subject: [PATCH 2/3] an example for cht.sh installation into /usr/local/bin (fixes #119) --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index de55167..48a8b60 100644 --- a/README.md +++ b/README.md @@ -202,9 +202,18 @@ 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 ``` + +or to install it globally (for all users): + +``` + curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh + 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` ### Client usage From 8a71954941b837212c066bbeb23158157352a8ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20K=C5=82opotek?= Date: Thu, 17 Jan 2019 10:36:02 +0100 Subject: [PATCH 3/3] Update README with scoop install option for Windows --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 48a8b60..dde502d 100644 --- a/README.md +++ b/README.md @@ -429,13 +429,18 @@ because you know what happens when you do. You can access cheat.sh from Windows command line too. -Use cheat.sh command line client for that: [cht.exe](https://github.com/tpanj/cht.exe). +Use cheat.sh command line client for that: [`cht.exe`](https://github.com/tpanj/cht.exe). It supports: * output colorization; * command line options; * its own configuration file. +You can also use [`scoop`](https://github.com/lukesampson/scoop) command-line installer for Windows to get it: +```batch +scoop install cht +``` + ## Self-Hosting ### Docker