mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-13 01:20:24 +02:00
.github
completions
docs
jc
man
templates
tests
.gitignore
CHANGELOG
CONTRIBUTING.md
EXAMPLES.md
LICENSE.md
MANIFEST.in
README.md
_config.yml
build-completions.py
build-package.sh
docgen.sh
install.sh
mangen.py
pypi-upload.sh
readmegen.py
requirements.txt
runtests.sh
setup.cfg
setup.py
updatedocs.sh
10 lines
352 B
Python
10 lines
352 B
Python
![]() |
#!/usr/bin/env python3
|
||
|
# build Bash and Zsh completion scripts and add to the completions folder
|
||
|
from jc.shell_completions import bash_completion, zsh_completion
|
||
|
|
||
|
with open('completions/jc_bash_completion.sh', 'w') as f:
|
||
|
print(bash_completion(), file=f)
|
||
|
|
||
|
with open('completions/jc_zsh_completion.sh', 'w') as f:
|
||
|
print(zsh_completion(), file=f)
|