mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 15:04:43 +00:00
Adjust completion for pep517
Manually building and installing the python packages can be safely omited from the examples. Haven't tested. Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
2
completion/README.md
vendored
2
completion/README.md
vendored
@@ -1,6 +1,6 @@
|
|||||||
Here are completion files for `bash`, `zsh` and `fish`
|
Here are completion files for `bash`, `zsh` and `fish`
|
||||||
for the use of dotdrop through the bash script `dotdrop.sh`
|
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
|
`bash` and `zsh` scripts are generated using
|
||||||
[infi.docopt_completion](https://github.com/Infinidat/infi.docopt_completion).
|
[infi.docopt_completion](https://github.com/Infinidat/infi.docopt_completion).
|
||||||
|
|||||||
2
completion/generate.sh
vendored
2
completion/generate.sh
vendored
@@ -41,7 +41,7 @@ venv="/tmp/dotdrop-venv"
|
|||||||
${vbin} -p python3 ${venv}
|
${vbin} -p python3 ${venv}
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
source ${venv}/bin/activate
|
source ${venv}/bin/activate
|
||||||
python setup.py install
|
pip install .
|
||||||
cd /tmp
|
cd /tmp
|
||||||
docopt-completion dotdrop --manual-zsh
|
docopt-completion dotdrop --manual-zsh
|
||||||
mv ./_dotdrop "${dt_zsh}"
|
mv ./_dotdrop "${dt_zsh}"
|
||||||
|
|||||||
Reference in New Issue
Block a user