feat: add k8s namespace indicator (#1887)

* Add k8s namespace to prompt
This commit is contained in:
ofir shtrull
2021-06-10 16:04:56 +03:00
committed by GitHub
parent 9b62a5c4df
commit 2444a57cc5
7 changed files with 27 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ The contents of the prompt can be "reordered", all the "segments" (every piece o
* ``in_toolbox`` - Show identifier if running inside a `toolbox <https://github.com/containers/toolbox>`_
* ``in_vim`` - Show identifier if running in ``:terminal`` from vim
* ``k8s_context`` - Show current kubernetes context
* ``k8s_namespace`` - Show current kubernetes namespace
* ``last_status`` - Exit status of last run command
* ``python_venv`` - Python virtual environment information (\ ``virtualenv``\ , ``venv``
and ``conda`` supported)