Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ptavares/zsh-tgenv
zsh plugin for installing and loading tgenv
https://github.com/ptavares/zsh-tgenv
tgenv zsh zsh-plugin zsh-tgenv
Last synced: about 2 months ago
JSON representation
zsh plugin for installing and loading tgenv
- Host: GitHub
- URL: https://github.com/ptavares/zsh-tgenv
- Owner: ptavares
- License: mit
- Created: 2020-05-03T08:24:47.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-17T15:10:21.000Z (almost 2 years ago)
- Last Synced: 2024-01-25T14:42:51.453Z (4 months ago)
- Topics: tgenv, zsh, zsh-plugin, zsh-tgenv
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - tgenv - Installs and loads [tgenv](https://github.com/cunymatthieu/tgenv.git). Includes a function to manually update `tgenv`. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - tgenv - Installs and loads <b><code> ?⭐</code></b> <b><code> ?🍴</code></b> [tgenv](https://github.com/cunymatthieu/tgenv.git)). Includes a function to manually update `tgenv`. (Plugins / ZSH on Windows)
README
# zsh-tgenv
zsh plugin for installing and loading [tgenv](https://github.com/cunymatthieu/tgenv.git)
>Inpired by [zsh-pyenv](https://github.com/mattberther/zsh-pyenv)## Table of content
- [zsh-tgenv](#zsh-tgenv)
- [Usage](#usage)
- [Updating tgenv](#updating-tgenv)
- [License](#license)## Usage
Once the plugin installed, `tgenv` will be available
- Using [Antigen](https://github.com/zsh-users/antigen)
Bundle `zsh-tgenv` in your `.zshrc`
```shell
antigen bundle ptavares/zsh-tgenv
```- Using [zplug](https://github.com/b4b4r07/zplug)
Load `zsh-tgenv` as a plugin in your `.zshrc`
```shell
zplug "ptavares/zsh-tgenv"
```- Using [zgen](https://github.com/tarjoilija/zgen)
Include the load command in your `.zshrc`
```shell
zget load ptavares/zsh-tgenv
```- As an [Oh My ZSH!](https://github.com/robbyrussell/oh-my-zsh) custom plugin
Clone `zsh-tgenv` into your custom plugins repo and load as a plugin in your `.zshrc`
```shell
git clone https://github.com/ptavares/zsh-tgenv.git ~/.oh-my-zsh/custom/plugins/zsh-tgenv
``````shell
plugins+=(zsh-tgenv)
```Keep in mind that plugins need to be added before `oh-my-zsh.sh` is sourced.
- Manually
Clone this repository somewhere (`~/.zsh-tgenv` for example) and source it in your `.zshrc`
```shell
git clone https://github.com/ptavares/zsh-tgenv ~/.zsh-tgenv
``````shell
source ~/.zsh-tgenv/zsh-tgenv.plugin.zsh
```## Updating tgenv
The plugin comes with a zsh function to update [tgenv](https://github.com/cunymatthieu/tgenv.git) manually
```shell
# From zsh shell
update_zsh_tgenv
```## License
[MIT](LICENCE)