Merge pull request #2072 from bookwyrm-social/zsh-complete

Adds zsh-specific completions file
This commit is contained in:
Mouse Reeve 2022-04-04 15:26:31 -07:00 committed by GitHub
commit fe85784ceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 3 deletions

View file

@ -1,7 +1,4 @@
#/usr/bin/env bash
# for zsh, run:
# autoload bashcompinit
# bashcompinit
complete -W "up
service_ports_web
initdb

36
complete_bwdev.zsh Normal file
View file

@ -0,0 +1,36 @@
#/usr/bin/env bash
autoload bashcompinit
bashcompinit
complete -W "up
service_ports_web
initdb
resetdb
makemigrations
migrate
bash
shell
dbshell
restart_celery
pytest
collectstatic
makemessages
compilemessages
update_locales
build
clean
black
prettier
stylelint
formatters
compilescss
collectstatic_watch
populate_streams
populate_lists_streams
populate_suggestions
generate_thumbnails
generate_preview_images
copy_media_to_s3
set_cors_to_s3
setup
admin_code
runweb" -o bashdefault -o default bw-dev