https://github.com/pkulev/zsh-rustup-completion
Rustup completion plugin for oh-my-zsh framework
https://github.com/pkulev/zsh-rustup-completion
oh-my-zsh zsh zsh-completion
Last synced: 4 months ago
JSON representation
Rustup completion plugin for oh-my-zsh framework
- Host: GitHub
- URL: https://github.com/pkulev/zsh-rustup-completion
- Owner: pkulev
- Created: 2017-12-11T11:47:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T09:55:26.000Z (about 6 years ago)
- Last Synced: 2024-08-08T16:14:50.997Z (over 1 year ago)
- Topics: oh-my-zsh, zsh, zsh-completion
- Language: Shell
- Size: 17.6 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zsh-plugins - rustup - Tab completions for Rustup. (Completions / ZSH on Windows)
- fucking-awesome-zsh-plugins - rustup - Tab completions for Rustup. (Completions / ZSH on Windows)
- awesome-zsh-plugins - rustup - Tab completions for Rustup. (Completions / Zinit (née zplugin))
README
zsh-rustup-completion
---------------------
Oh-my-zsh rustup completion plugin.
Rustup version: **1.18.3** (435397f48 2019-05-22)
## Installation
First clone the repository repo in the custom zsh plugins folder:
```bash
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/pkulev/zsh-rustup-completion.git rustup
```
Open ~/.zshrc:
```bash
vim ~/.zshrc
```
Add the plugin to zsh:
```bash
plugins=(... rustup)
```
Check that autoloading is enabled:
```bash
autoload -U compinit && compinit
```
Reload config:
```bash
source ~/.zshrc
```
Enjoy it!
## Updating
Completion file depends on rustup version.
For updating completion just execute:
```bash
./gen-completion.sh
```
Attention! Executing this file may cause repo updating failure.