mirror of
https://github.com/conda-incubator/conda-zsh-completion.git
synced 2026-03-04 06:14:59 +08:00
Enable loading as zsh custom plugin
This commit is contained in:
16
README.rst
16
README.rst
@@ -1,6 +1,22 @@
|
||||
conda-zsh-completion
|
||||
--------------------
|
||||
|
||||
Installation
|
||||
------------
|
||||
`oh-my-zsh <http://github.com/robbyrussell/oh-my-zsh>`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
```bash
|
||||
git clone https://github.com/esc/conda-zsh-completion ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
|
||||
```
|
||||
|
||||
add lines in `.zshrc`
|
||||
```
|
||||
plugins=(… conda-zsh-completion)
|
||||
autoload -U compinit && compinit
|
||||
```
|
||||
|
||||
Manual
|
||||
~~~~~~
|
||||
Please see the top of the ``_conda`` file for more info.
|
||||
|
||||
:License: |license|
|
||||
|
||||
1
conda-zsh-completion.plugin.zsh
Normal file
1
conda-zsh-completion.plugin.zsh
Normal file
@@ -0,0 +1 @@
|
||||
fpath+="${0:h}"
|
||||
Reference in New Issue
Block a user