Ecosyste.ms: Awesome

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

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: about 1 month ago
JSON representation

Rustup completion plugin for oh-my-zsh framework

Lists

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.