Skip to content

Commit

Permalink
Merge pull request #779 from brson/complete
Browse files Browse the repository at this point in the history
Remove old zsh completions
  • Loading branch information
brson authored Nov 4, 2016
2 parents 607ef07 + 64d8fc0 commit 50dc5da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 189 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,11 @@ $ rustup completions fish > ~/.config/fish/completions/rustup.fish
$ rustup completions zsh > ~/.zfunc/_rustup
```

*Note:* you may need to restart your shell in order for the changes to take affect.
*Note:* you may need to restart your shell in order for the changes to take
effect.

*Note:* For Zsh, see additional details below

#### Addtional Notes for Zsh

One can alternatively copy [`src/rustup-cli/zsh/_rustup`](https://github.com/rust-lang-nursery/rustup.rs/blob/master/src/rustup-cli/zsh/_rustup) into a directory, e.g. `~/.zfunc/`.

Regardless of method, you must then add the following line in your `~/.zshrc` before `compinit`:
For `zsh`, you must then add the following line in your `~/.zshrc` before
`compinit`:

```zsh
fpath+=~/.zfunc
Expand Down
181 changes: 0 additions & 181 deletions src/rustup-cli/zsh/_rustup

This file was deleted.

0 comments on commit 50dc5da

Please sign in to comment.