1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-14 21:30:58 +01:00

feat(goenv): adding new plugin for 'goenv'

This commit is contained in:
Greg Wang
2021-07-08 01:20:19 +00:00
committed by GitHub
parent c44b99e901
commit f24d4bd36c
2 changed files with 57 additions and 0 deletions

15
plugins/goenv/README.md Normal file
View File

@@ -0,0 +1,15 @@
# goenv
This plugin looks for [goenv](https://github.com/syndbg/goenv), a Simple Go-lang version
management system, and loads it if it's found.
To use it, add `goenv` to the plugins array in your zshrc file:
```zsh
plugins=(... goenv)
```
## Functions
- `goenv_prompt_info`: displays the Go-lang version in use by goenv; or the global Go-lang
version, if goenv wasn't found.