From e26cfd934e96c3860f3860a2e85ebf2b954894be Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Sat, 16 May 2020 16:48:14 +0530 Subject: [PATCH] README: add section on Privacy --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 +``` -- 2.43.0