From bc46739ab50656fd344f43e3b7f84435f446cc95 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Mon, 6 Aug 2018 12:20:51 -0700 Subject: [PATCH] add note about NO_COLOR --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 88e45ea..d009b16 100644 --- a/README.md +++ b/README.md @@ -129,14 +129,15 @@ sudo apt install kubectx ### Customizing current context colors -If you like to customize the colors indicating the current namespace or context, set the environment variables `KUBECTX_CURRENT_FGCOLOR` and `KUBECTX_CURRENT_BGCOLOR`: +If you like to customize the colors indicating the current namespace or context, set the environment variables `KUBECTX_CURRENT_FGCOLOR` and `KUBECTX_CURRENT_BGCOLOR` (refer color codes [here](https://linux.101hacks.com/ps1-examples/prompt-color-using-tput/)): ``` export KUBECTX_CURRENT_FGCOLOR=$(tput setaf 6) # blue text export KUBECTX_CURRENT_BGCOLOR=$(tput setaf 7) # white background ``` -Refer color codes [here](https://linux.101hacks.com/ps1-examples/prompt-color-using-tput/) +Colors in the output can be disabled by setting the +[`NO_COLOR`](http://no-color.org/) environment variable. -----