Add terraform workspace to prompt
This commit is contained in:
@@ -67,6 +67,7 @@ The contents of the prompt can be "reordered", all the "segments" (every piece o
|
||||
* `node` - Current node version (only `nvm` is supported)
|
||||
* `scm` - Version control information, `git`
|
||||
* `user_info` - Current user
|
||||
* `terraform` - Current terraform workspace
|
||||
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
||||
hierarchy, only the directory you're currently in.
|
||||
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
||||
|
||||
Reference in New Issue
Block a user