Install gh zsh completions

This commit is contained in:
Kenneth Benzie 2023-01-04 14:23:33 +00:00
parent e2d1414c3b
commit 50a9cc97b6

View File

@ -29,3 +29,11 @@
name: gh name: gh
state: latest state: latest
update_cache: true update_cache: true
register: gh_apt
- debug: msg={{gh_apt}}
- name: install zsh completions
when: gh_apt.changed
become: true
shell: gh completion -s zsh > /usr/local/share/zsh/site-functions/_gh