now usable by all prompts

This commit is contained in:
Ofir Shtrull
2020-02-27 20:53:35 +02:00
parent 78397ad598
commit 936a79f619
7 changed files with 28 additions and 7 deletions

View File

@@ -52,13 +52,13 @@ The contents of the prompt can be "reordered", all the "segments" (every piece o
* `hostname` - Host name of machine
* `in_vim` - Show identifier if running in `:terminal` from vim
* `k8s_context` - Show current kubernetes context
* `terraform` - Current terraform workspace
* `last_status` - Exit status of last run command
* `python_venv` - Python virtual environment information (`virtualenv`, `venv`
and `conda` supported)
* `ruby` - Current ruby version if using `rvm`
* `node` - Current node version (only `nvm` is supported)
* `scm` - Version control information, `git`
* `terraform` - Current terraform workspace
* `user_info` - Current user
* `wd` - Working directory, like `cwd` but doesn't show the full folder
hierarchy, only the directory you're currently in.