mirror of
https://github.com/conda-incubator/conda-zsh-completion.git
synced 2026-08-24 03:03:14 +08:00
Merge pull request #23 from vmiheer/master
Enable loading as zsh custom plugin
This commit is contained in:
20
README.rst
20
README.rst
@@ -1,6 +1,26 @@
|
|||||||
conda-zsh-completion
|
conda-zsh-completion
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
`oh-my-zsh <http://github.com/robbyrussell/oh-my-zsh>`_
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
git clone https://github.com/esc/conda-zsh-completion ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
|
||||||
|
|
||||||
|
|
||||||
|
add lines in `.zshrc`
|
||||||
|
|
||||||
|
.. code-block:: zsh
|
||||||
|
|
||||||
|
plugins=(… conda-zsh-completion)
|
||||||
|
autoload -U compinit && compinit
|
||||||
|
|
||||||
|
|
||||||
|
Manual
|
||||||
|
~~~~~~
|
||||||
Please see the top of the ``_conda`` file for more info.
|
Please see the top of the ``_conda`` file for more info.
|
||||||
|
|
||||||
:License: |license|
|
: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