🔥

Zsh Rustup

Rustup completion plugin for oh-my-zsh framework

pkulev
|
11 stars
3 forks

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:

cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/pkulev/zsh-rustup-completion.git rustup

Open ~/.zshrc:

vim ~/.zshrc

Add the plugin to zsh:

plugins=(... rustup)

Check that autoloading is enabled:

autoload -U compinit && compinit

Reload config:

source ~/.zshrc

Enjoy it!

Updating

Completion file depends on rustup version. For updating completion just execute:

./gen-completion.sh

Attention! Executing this file may cause repo updating failure.