diff --git a/completion/README.md b/completion/README.md index 3cf7e26..a9b748d 100644 --- a/completion/README.md +++ b/completion/README.md @@ -1,6 +1,6 @@ Here are completion files for `bash`, `zsh` and `fish` for the use of dotdrop through the bash script `dotdrop.sh` -or through the Python script `dotdrop` (PyPI, snap, setup.py, etc.). +or through the Python script `dotdrop` (PyPI, snap, etc.). `bash` and `zsh` scripts are generated using [infi.docopt_completion](https://github.com/Infinidat/infi.docopt_completion). diff --git a/completion/generate.sh b/completion/generate.sh index 784051e..b6b5421 100755 --- a/completion/generate.sh +++ b/completion/generate.sh @@ -41,7 +41,7 @@ venv="/tmp/dotdrop-venv" ${vbin} -p python3 ${venv} # shellcheck source=/dev/null source ${venv}/bin/activate -python setup.py install +pip install . cd /tmp docopt-completion dotdrop --manual-zsh mv ./_dotdrop "${dt_zsh}"