From: Joseph Nuthalapati Date: Sat, 16 May 2020 11:18:14 +0000 (+0530) Subject: README: add section on Privacy X-Git-Tag: 0.3.0~2 X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/commitdiff_plain/e26cfd934e96c3860f3860a2e85ebf2b954894be README: add section on Privacy --- diff --git a/README.md b/README.md index a852de6..82dad57 100644 --- a/README.md +++ b/README.md @@ -109,3 +109,22 @@ One-liner for compiling and running ```sh nim c -d:ssl -r src/nimcoon.nim 'nim lang' ``` + +## Privacy + +To avoid storing your nimcoon searches in `zsh` history, run this command + +```sh +setopt histignorespace +``` + +Then, add a space before typing nimcoon in the shell, like " nimcoon" + +```sh + nimcoon "this is private" +``` + +The same can be achieved in `bash` by setting an environment variable +```sh +export HISTCONTROL=ignoreboth +```