update README for autocompletion
@@ -36,40 +36,16 @@ Usage
Autocompletion
--------------
-Autocompletion files can be autogenerated by the tool [infi.docopt-completion](https://github.com/Infinidat/infi.docopt_completion/) for both bash and zsh shells.
+To enable Bash completion, you need to put into your .bashrc:
-Install it in your python virtual environment
```bash
-pip install infi.docopt-completion
+eval "$(_SUBSTRA_COMPLETE=source substra)"
```
-##### Bash
+For zsh users add this to your .zshrc:
-After installing substra as a binary, run:
```bash
-docopt-completion substra --manual-bash
-Completion file written to ./substra.sh
+eval "$(_SUBSTRA_COMPLETE=source_zsh substra)"
```
-Now move this file inside `/etc/bash_completion.d/`
-```bash
-sudo mv ./substra.sh /etc/bash_completion.d/
-```
-Then source it with `source /etc/bash_completion`
-You now can enjoy autocompletion :tada:
-
-#### Zsh
-
-
-After installing substra as a binary, run:
-``` bash
-docopt-completion substra --manual-zsh
-Completion file written to ./_substra
-```
-
-Now move this file inside `/usr/share/zsh/functions/Completion`
-```bash
-sudo mv ./_substra /usr/share/zsh/functions/Completion
-```
-Then source it with `source ~/.zshrc`
-You now can enjoy autocompletion :tada:
+From this point onwards, substra client will have autocompletion enabled.
