Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/endaaman/lxd-completion-zsh
Zsh completion for lxc/lxd command of LXD
https://github.com/endaaman/lxd-completion-zsh
lxc lxd zsh zsh-completions zsh-plugins
Last synced: 2 months ago
JSON representation
Zsh completion for lxc/lxd command of LXD
- Host: GitHub
- URL: https://github.com/endaaman/lxd-completion-zsh
- Owner: endaaman
- License: mit
- Created: 2017-02-12T13:06:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-02T04:02:15.000Z (about 2 years ago)
- Last Synced: 2024-10-25T09:24:01.134Z (3 months ago)
- Topics: lxc, lxd, zsh, zsh-completions, zsh-plugins
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 51
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - endaaman/lxd-completion-zsh - Zsh completion for lxc/lxd command of LXD (others)
README
# lxd-completion-zsh
Zsh completion for `lxc` and `lxd` commands of [LXD](https://linuxcontainers.org/lxd/).
![screenshot](http://static.endaaman.me/images/github/lxd-completion.png)
## Installation
### Using a plugin manager (recommended)
This way is recommended. The `lxc` command updates frequently and this repository as its completion does the same. Therefore, using a plugin manager, you can get the immediate updates when I apply them.
[Antigen](https://github.com/zsh-users/antigen)
```sh
antigen bundle 'endaaman/lxd-completion-zsh'
```[zplug](https://github.com/zplug/zplug)
```sh
zplug 'endaaman/lxd-completion-zsh'
```### [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
1. Clone this repository in oh-my-zsh's plugins directory:
```sh
git clone https://github.com/endaaman/lxd-completion-zsh ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/lxd-completion-zsh
```2. Activate the plugin in ~/.zshrc:
```sh
plugins=( [plugins...] lxd-completion-zsh)
```3. Restart zsh (such as by opening a new instance of your terminal emulator).
### Manually
Put `_lxc` file into `$fpath` directory (e.g. defining `fpath=(~/.zsh/completion $fpath)`, place it in `~/.zsh/completion`)
## License
MIT