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

https://github.com/z-shell/system-completions

📦 Package - System Completions
https://github.com/z-shell/system-completions

completions zi zpackage zsh zsh-completions zsh-system-completions zshell

Last synced: 6 months ago
JSON representation

📦 Package - System Completions

Awesome Lists containing this project

README

          



Zi Logo

❮ Zi ❯ Package - System Completions



Moves the stock Zsh completions under the control of Zi and provides the ability to selectively enable (cenable) / disable (cdisable).




Package source:
Tarball
Binary
Git
Node
Gem
Mod


Status:





✔️ (default)

zi zsh system-completions package


## Available `pack''` invocations

### Default Profile

```shell
zi pack for system-completions
```

```shell
# Utilize Turbo
zi wait pack for system-completions
```

```shell
# Utilize Turbo and initialize the completion system
zi wait pack atload=+"zicompinit; zicdreplay" for system-completions
```

```shell
# Utilize Turbo and initialize the completion with fast compinit
zi wait pack atload=+"zicompinit_fast; zicdreplay" for system-completions
```

The **Zi** command executed will be equivalent to:

```shell
zi id-as=system-completions wait as=completion lucid \
atclone="+zi-message '+zi-message 'Installing System Completions...'; \
command mkdir -p ${ZPFX}/share/zsh/$ZSH_VERSION/completions; \
command cp -f /usr/share/zsh/functions/Completion/*/_*(.) ${ZPFX}/share/zsh/$ZSH_VERSION/completions; \
zi creinstall -q /usr/share/zsh/functions/Completion; zi cclear -q" \
atload="fpath=( ${(u)fpath[@]:#/usr/share/zsh/*} ); fpath+=( ${ZPFX}/share/zsh/$ZSH_VERSION/completions );" \
atpull="%atclone" run-atpull nocompile for \
z-shell/0
```

---

> This repository compatible with [**Zi**](https://github.com/z-shell/zi)

The [**Zi**](https://github.com/z-shell/zi) zsh package that uses the [zsh-string-lib](https://github.com/z-shell/zsh-string-lib) to automatically:

- get the plugin's Git repository OR release-package URL,
- get the list of the recommended ices for the plugin,
- there can be multiple lists of ices,
- the ice lists are stored in _profiles_; there's at least one profile, _default_,
- the ices can be selectively overridden.