Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```