Skip to content

Commit c583b81

Browse files
committedSep 22, 2024
fixed zsh playbook
1 parent 6620a53 commit c583b81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎ansible/playbooks/zsh.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
copy:
2121
dest: "/home/{{ user }}/.zshrc"
2222
content: |
23-
# Basic .zshrc to prevent zsh-newuser-install prompt
2423
# Path to your Oh My Zsh installation.
2524
export ZSH="$HOME/.oh-my-zsh"
2625
export PATH=$PATH:$HOME/.local/bin
@@ -58,6 +57,7 @@
5857
chdir: "/home/{{ user }}"
5958
environment:
6059
HOME: "/home/{{ user }}"
60+
RUNZSH: "no"
6161

6262
- name: Ensure custom plugins directory exists
6363
file:
@@ -69,25 +69,25 @@
6969
- name: Clone zsh-syntax-highlighting plugin
7070
git:
7171
repo: https://github.com/zsh-users/zsh-syntax-highlighting.git
72-
dest: "{{ zsh_custom }}/plugins/zsh-syntax-highlighting"
72+
dest: "/home/{{ ansible_user }}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting"
7373
update: yes
7474

7575
- name: Clone zsh-autosuggestions plugin
7676
git:
7777
repo: https://github.com/zsh-users/zsh-autosuggestions.git
78-
dest: "{{ zsh_custom }}/plugins/zsh-autosuggestions"
78+
dest: "/home/{{ ansible_user }}/.oh-my-zsh/custom/plugins/zsh-autosuggestions"
7979
update: yes
8080

8181
- name: Clone zsh-history-substring-search plugin
8282
git:
8383
repo: https://github.com/zsh-users/zsh-history-substring-search.git
84-
dest: "{{ zsh_custom }}/plugins/zsh-history-substring-search"
84+
dest: "/home/{{ ansible_user }}/.oh-my-zsh/custom/plugins/zsh-history-substring-search"
8585
update: yes
8686

8787
- name: Clone you-should-use plugin
8888
git:
8989
repo: https://github.com/MichaelAquilina/zsh-you-should-use.git
90-
dest: "{{ zsh_custom }}/plugins/you-should-use"
90+
dest: "/home/{{ ansible_user }}/.oh-my-zsh/custom/plugins/you-should-use"
9191
update: yes
9292

9393
- name: Ensure .local/bin directory exists

0 commit comments

Comments
 (0)
Please sign in to comment.