Skip to content

Commit

Permalink
Switch to powerlevel10k provided by homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
mfinelli committed Sep 3, 2023
1 parent c5eda3e commit a3388a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/zsh/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
ansible.builtin.git:
dest: "{{ ansible_user_dir }}/.zsh/powerlevel10k"
repo: https://github.com/romkatv/powerlevel10k.git
version: v1.18.0
version: v1.19.0

- name: Installing oh-my-zsh
ansible.builtin.git:
Expand Down
4 changes: 2 additions & 2 deletions roles/zsh/templates/zshrc.j2
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ source {{ ansible_user_dir }}/.zsh/autoquoter/zsh-autoquoter.zsh
ZAQ_PREFIXES+=('git commit( [^ ]##)# -[^ -]#m' 'ssh( [^ ]##)# [^ -][^ ]#')
ZSH_HIGHLIGHT_HIGHLIGHTERS+=(zaq)

source {{ ansible_user_dir }}/.zsh/forgit/forgit.plugin.zsh

{% if ansible_os_family == "Archlinux" %}
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
{% elif ansible_os_family == "Darwin" %}
source "${HOMEBREW_PREFIX}/share/powerlevel10k/powerlevel10k.zsh-theme"
{% else %}
source {{ ansible_user_dir }}/.zsh/powerlevel10k/powerlevel10k.zsh-theme
{% endif %}
Expand Down

0 comments on commit a3388a3

Please sign in to comment.