X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/blobdiff_plain/4d92c88211867bd48ea229d9f8fbdbe588eb4ef0..e26cfd934e96c3860f3860a2e85ebf2b954894be:/README.md 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 +```