mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 01:52:31 +01:00
feat(goenv): adding new plugin for 'goenv'
This commit is contained in:
parent
c44b99e901
commit
f24d4bd36c
2 changed files with 57 additions and 0 deletions
15
plugins/goenv/README.md
Normal file
15
plugins/goenv/README.md
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue