From 9578bb0237648f42f18d3a13b198d36fd377a1b2 Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Wed, 18 Sep 2019 23:13:51 +0200 Subject: [PATCH] refactor docs --- README.rst | 20 -------------------- _conda | 10 ++++++++-- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/README.rst b/README.rst index 7dd6f58..1a0cad8 100644 --- a/README.rst +++ b/README.rst @@ -1,26 +1,6 @@ conda-zsh-completion -------------------- -Installation ------------- -`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| diff --git a/_conda b/_conda index 6bf895d..12a6fb0 100644 --- a/_conda +++ b/_conda @@ -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':