Skip to content

Commit

Permalink
fix: use patched antigen to fix broken plugins compdef
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed May 26, 2024
1 parent 3c6659d commit ad6458e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ zsh_load_etc_profile: yes
fzf_widgets: sorenson-axial/fzf-widgets
#fzf_widgets: ytet5uy4/fzf-widgets

zsh_antigen_version: master
#zsh_antigen_repo: https://github.com/zsh-users/antigen.git
# patch broken compdef - https://github.com/zsh-users/antigen/pull/737
zsh_antigen_repo: https://github.com/viasite-ansible/antigen
zsh_antigen_version: patch-1

zsh_fzf_version: 0.46.0

zsh_antigen_bundles:
Expand Down
2 changes: 1 addition & 1 deletion tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- name: Check antigen version
shell: |
set -o pipefail
cat {{ zsh_antigen_path }}/antigen/VERSION | tr -d 'v'
cat {{ zsh_antigen_path }}/antigen/VERSION | sed 's/^v//'
args:
executable: /bin/bash
register: zsh_register_antigen_version
Expand Down
2 changes: 1 addition & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

- name: Clone antigen {{ zsh_antigen_version }}
git:
repo: https://github.com/zsh-users/antigen.git
repo: "{{ zsh_antigen_repo }}"
dest: "{{ zsh_antigen_path }}/antigen"
version: "{{ zsh_antigen_version }}"
force: yes
Expand Down

0 comments on commit ad6458e

Please sign in to comment.