Skip to content

pkulev/zsh-rustup-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.