1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 01:20:40 +00:00

adding completion scripts for #97

This commit is contained in:
deadc0de6
2019-03-06 22:00:16 +01:00
parent 0ccb35e9b0
commit 5bb068e35b
6 changed files with 745 additions and 0 deletions

21
completion/README.md Normal file
View File

@@ -0,0 +1,21 @@
Here are the completion files for `bash` and `zsh`
for the use of dotdrop either through the bash script `dotdrop.sh`
or through the python script `dotdrop` (pypi, snap, setup.py, etc).
Those files are generated using
[infi.docopt_completion](https://github.com/Infinidat/infi.docopt_completion).
# bash
Source the file
* if using `dotdrop.sh` [dotdrop.sh-completion.bash](completion/dotdrop.sh-completion.bash)
* if using `dotdrop`: [dotdrop-completion.bash](completion/dotdrop-completion.bash)
# zsh
Copy the file `_dotdrop.sh-completion.zsh`
in a path within `${fpath}`
* if using `dotdrop.sh`: [_dotdrop.sh-completion.zsh](_dotdrop.sh-completion.zsh)
* if using `dotdrop`: [_dotdrop-completion.zsh](_dotdrop-completion.zsh)