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: about 1 month 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-17T14:35:23.000Z (about 1 year ago)
- Last Synced: 2024-03-14T23:51:49.835Z (2 months ago)
- Topics: bash, bash-plugin, cli, shell, unix, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - lazy-load - Lazy load tab completions only when you actually need them. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - lazy-load - Lazy load tab completions only when you actually need them. (Plugins / ZSH on Windows)
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
```