Skip to content

Commit d3a7f97

Browse files
committed
Update
1 parent 43cc807 commit d3a7f97

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

python-env.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,19 @@ of the scientific packages) on your operating system.
7979

8080
When Miniconda is installed, use `conda init <shell-name>` to initiate
8181
Conda and run `conda config --set auto_activate_base false` to stop auto
82-
base activation. For adding Conda autocompletion in bash terminal copy
82+
base activation.
83+
84+
For adding Conda autocompletion, in bash terminal copy
8385
[conda-bash-completion](https://github.com/tartansandal/conda-bash-completion/blob/master/conda)
84-
in `/usr/share/bash-completion/completions/conda`. And for a MacOS with
86+
in `/usr/share/bash-completion/completions/conda`. And for a macOS with
8587
zsh, copy
8688
[conda-zsh-completion](https://github.com/esc/conda-zsh-completion/blob/master/_conda)
87-
in `~/miniconda3/zsh-completion/_conda` and add
88-
`fpath+="/Users/${USER}/miniconda3/zsh-completion" && compinit` to the
89-
`~/.zshrc` file.
89+
in `~/miniconda3/zsh-completion/_conda` and add the following to the
90+
`~/.zshrc` file:
91+
92+
``` bash
93+
fpath+="/Users/${USER}/miniconda3/zsh-completion" && compinit
94+
```
9095

9196
### Usage
9297

0 commit comments

Comments
 (0)