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