https://github.com/cda0/zsh-tfenv
zsh plugin for installing, updating and loading tfenv
https://github.com/cda0/zsh-tfenv
Last synced: over 1 year ago
JSON representation
zsh plugin for installing, updating and loading tfenv
- Host: GitHub
- URL: https://github.com/cda0/zsh-tfenv
- Owner: CDA0
- License: mit
- Created: 2019-11-15T22:52:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T16:08:47.000Z (about 2 years ago)
- Last Synced: 2025-01-16T11:59:14.451Z (over 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zsh-tfenv
> zsh plugin for installing, updating, and loading `tfenv`
> Inspired by [zsh-pyenv](https://github.com/mattberther/zsh-pyenv)
## Usage
Once the plugin is installed, tfenv will be available.
## Installation
### Using [Antigen](https://github.com/zsh-users/antigen)
Bundle `zsh-tfenv` in your `.zshrc`
```
antigen bundle cda0/zsh-tfenv
```
### Using [zplug](https://github.com/b4b4r07/zplug)
Load `zsh-tfenv` as a plugin in your `.zshrc`
```
zplug "cda0/zsh-tfenv"
```
### Using [zgen](https://github.com/tarjoilija/zgen)
Include the load command in your `.zshrc`
```
zget load cda0/zsh-tfenv
```
### As an [Oh My ZSH!](https://github.com/robbyrussell/oh-my-zsh) custom plugin
Clone `zsh-tfenv` into your custom plugins repo and load as a plugin in your `.zshrc`
```shell
git clone https://github.com/cda0/zsh-tfenv ~/.oh-my-zsh/custom/plugins/zsh-tfenv
```
```
plugins+=(zsh-tfenv)
```
Keep in mind that plugins need to be added before `oh-my-zsh.sh` is sourced.
### Manually
Clone this repository somewhere (`~/.zsh-tfenv` for example) and source it in your `.zshrc`
```shell
git clone https://github.com/cda0/zsh-tfenv ~/.zsh-tfenv
```
```
source ~/.zsh-tfenv/zsh-tfenv.plugin.zsh
```
### License
MIT