Add in_toolbox prompt to powerline themes

[Toolbox](https://github.com/containers/toolbox) is an containerized
development environment. This commit adds a promot to powerline when it
is running inside a toolbox.
This commit is contained in:
Kan Li
2020-11-28 12:05:36 -08:00
parent 13deafbb1b
commit 8ce9d8daa5
12 changed files with 41 additions and 5 deletions

View File

@@ -50,6 +50,7 @@ The contents of the prompt can be "reordered", all the "segments" (every piece o
* `clock` - Current time in `HH:MM:SS` format
* `cwd` - Current working directory including full folder hierarchy (c.f. `wd`)
* `hostname` - Host name of machine
* `in_toolbox` - Show identifier if running inside a toolbox
* `in_vim` - Show identifier if running in `:terminal` from vim
* `k8s_context` - Show current kubernetes context
* `last_status` - Exit status of last run command