Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goarano/zsh-lazy-load
zsh/bash plugin for lazy loading completions
https://github.com/goarano/zsh-lazy-load
bash bash-plugin cli shell unix zsh zsh-plugin
Last synced: 4 days ago
JSON representation
zsh/bash plugin for lazy loading completions
- Host: GitHub
- URL: https://github.com/goarano/zsh-lazy-load
- Owner: goarano
- License: gpl-3.0
- Created: 2023-04-21T18:03:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-06T13:05:52.000Z (3 months ago)
- Last Synced: 2024-08-07T11:18:18.437Z (3 months ago)
- Topics: bash, bash-plugin, cli, shell, unix, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zsh-lazy-load
Adds a function *_lazy_load* that loads a zsh completion when pressing tab instead of at zsh shell startup time.
## Usage
```
_lazy_load $CMD $COMPLETION_CMD
```## Examples
```
_lazy_load pipenv "_PIPENV_COMPLETE=zsh_source pipenv"
_lazy_load rustup "rustup completions zsh"
_lazy_load hcloud "hcloud completion zsh"
_lazy_load kubectl "kubectl completion zsh"
_lazy_load helm "helm completion zsh"
```## Installation
### Antidote
```
anidote install goarano/zsh-lazy-load
```### Zgen
```
zgen load goarano/zsh-lazy-load
```### Antigen
```
antigen bundle goarano/zsh-lazy-load
```