mirror of
https://github.com/conda-incubator/conda-zsh-completion.git
synced 2026-10-20 04:25:20 +08:00
refactor docs
This commit is contained in:
-20
@@ -1,26 +1,6 @@
|
||||
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.
|
||||
|
||||
:License: |license|
|
||||
|
||||
@@ -21,9 +21,15 @@
|
||||
# fpath+=/path/to/where/you/installed/conda-zsh-completion
|
||||
# compinit
|
||||
#
|
||||
# (If you're using oh-my-zsh or Prezto, they will call compinit for you, so
|
||||
# If you're using oh-my-zsh or Prezto, they will call compinit for you, so
|
||||
# just add it to your $fpath before calling the OMZ or Prezto initialization
|
||||
# functions.)
|
||||
# functions. For example:
|
||||
#
|
||||
# git clone https://github.com/esc/conda-zsh-completion ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
|
||||
#
|
||||
# And add lines in `.zshrc`
|
||||
# plugins=(… conda-zsh-completion)
|
||||
# autoload -U compinit && compinit
|
||||
#
|
||||
# To activate the completion cache for packages, add the following to your
|
||||
# '.zshrc':
|
||||
|
||||
Reference in New Issue
Block a user