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