File tree 1 file changed +15
-8
lines changed 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change 49
49
shell : |
50
50
RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
51
51
environment :
52
- HOME : " /home/mafyuh "
52
+ HOME : " /home/{{ user }} "
53
53
args :
54
- chdir : " /home/mafyuh"
55
- creates : " /home/mafyuh/.oh-my-zsh"
54
+ chdir : " /home/{{ user }}"
55
+ creates : " /home/{{ user }}/.oh-my-zsh"
56
+
57
+ - name : Ensure custom plugins directory exists
58
+ file :
59
+ path : " {{ zsh_custom }}/plugins"
60
+ state : directory
61
+ owner : " {{ user }}"
62
+ group : " {{ user }}"
56
63
57
64
- name : Clone zsh-syntax-highlighting plugin
58
65
git :
59
66
repo : https://github.com/zsh-users/zsh-syntax-highlighting.git
60
67
dest : " {{ zsh_custom }}/plugins/zsh-syntax-highlighting"
61
- update : no
68
+ update : yes
62
69
63
70
- name : Clone zsh-autosuggestions plugin
64
71
git :
65
72
repo : https://github.com/zsh-users/zsh-autosuggestions.git
66
73
dest : " {{ zsh_custom }}/plugins/zsh-autosuggestions"
67
- update : no
74
+ update : yes
68
75
69
76
- name : Clone zsh-history-substring-search plugin
70
77
git :
71
78
repo : https://github.com/zsh-users/zsh-history-substring-search.git
72
79
dest : " {{ zsh_custom }}/plugins/zsh-history-substring-search"
73
- update : no
80
+ update : yes
74
81
75
- - name : Clone zsh- you-should-use plugin
82
+ - name : Clone you-should-use plugin
76
83
git :
77
84
repo : https://github.com/MichaelAquilina/zsh-you-should-use.git
78
85
dest : " {{ zsh_custom }}/plugins/you-should-use"
79
- update : no
86
+ update : yes
80
87
81
88
- name : Ensure .local/bin directory exists
82
89
file :
You can’t perform that action at this time.
0 commit comments