Fix glab zsh completion install on Debian
This commit is contained in:
parent
056ae6e169
commit
6132cc58a6
@ -62,7 +62,13 @@
|
|||||||
state: absent
|
state: absent
|
||||||
path: '{{tempdir.path}}'
|
path: '{{tempdir.path}}'
|
||||||
|
|
||||||
|
- name: get zsh completions source
|
||||||
|
command: glab completion -s zsh
|
||||||
|
register: glab_zsh_completions
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: install zsh completions
|
- name: install zsh completions
|
||||||
when: glab_version is not defined or glab_version != latest_version
|
become: true
|
||||||
command:
|
copy:
|
||||||
glab completion -s zsh > ~/.local/share/zsh/site-functions/_glab
|
content: '{{glab_zsh_completions.stdout}}'
|
||||||
|
dest: /usr/local/share/zsh/site-functions/_glab
|
||||||
|
Loading…
x
Reference in New Issue
Block a user