https://github.com/0xtadash1/zsh-quick-volta
Install Volta, and enable environment variables and completion! -- https://github.com/volta-cli/volta
https://github.com/0xtadash1/zsh-quick-volta
volta zinit zinit-plugin zsh zsh-plugin
Last synced: 4 months ago
JSON representation
Install Volta, and enable environment variables and completion! -- https://github.com/volta-cli/volta
- Host: GitHub
- URL: https://github.com/0xtadash1/zsh-quick-volta
- Owner: 0xTadash1
- License: mit
- Created: 2021-08-17T10:39:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T18:32:40.000Z (over 2 years ago)
- Last Synced: 2024-01-22T23:26:08.153Z (over 1 year ago)
- Topics: volta, zinit, zinit-plugin, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zsh-quick-volta
Install Volta, and enable environment variables and completion!
> Volta: JS Toolchains as Code. ⚡
>
> -- [volta-cli/volta](https://github.com/volta-cli/volta)## Features
- Automatic Installation if not already installed
- Automatic Generation of Completion Files
- Run `volta completions zsh` if `_volta` doesn't exists or doesn't has size greater than zero
- Automatic Activation
- If `$VOLTA_HOME` is already set by you, respect it. By default, `~/.volta` will be used.## Usage
Just Install! via Your favorite plugin manager
## Required
- `curl`
- This plugin use official installer(`curl https://get.volta.sh | bash -s -- --skip-setup`), it call `curl` inside.## Installation
### Zinit
```shell
zinit light-mode for 0xTadash1/zsh-quick-volta
```or When installing and using `volta` on `~/.local/volta` with Zinit's Turbo-mode:
```shell
zinit wait lucid light-mode for atinit'VOLTA_HOME="${HOME}/.local/volta"' 0xTadash1/zsh-quick-volta
```## TODO
- [ ] better support for zinit
- [ ] test with other plugin manager
- [ ] zplug
- [ ] antigen
- [ ] zgen
- [ ] better completions install process
- [ ] post installation hook..?
- node, npm, yarn, or npm packages installation## LICENSE
This repository is licensed under a [MIT license](https://github.com/0xTadash1/zsh-quick-volta/blob/main/LICENSE).