Add Go version to prompt, only displayed when in a go source tree

This commit is contained in:
Greg Fitzgerald
2015-09-23 18:29:13 -04:00
committed by Caio Gondim
parent fd544cbb7a
commit a6c0510cc2
2 changed files with 38 additions and 0 deletions

View File

@@ -164,6 +164,15 @@ or don't want to see. All options must be overridden in your **.zshrc** file.
|`BULLETTRAIN_RUBY_FG`|`white`|Foreground color
|`BULLETTRAIN_RUBY_PREFIX`|`"♦"`|Prefix of the segment
### Go
|Variable|Default|Meaning
|--------|-------|-------|
|`BULLETTRAIN_GO_SHOW`|`false`|Show/hide that segment
|`BULLETTRAIN_GO_BG`|`green`|Background color
|`BULLETTRAIN_GO_FG`|`white`|Foreground color
|`BULLETTRAIN_GO_PREFIX`|`""`|Prefix of the segment
### Dir
|Variable|Default|Meaning