fixed zsh playbook
This commit is contained in:
parent
6620a53ac6
commit
c583b81865
1 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,6 @@
|
|||
copy:
|
||||
dest: "/home/{{ user }}/.zshrc"
|
||||
content: |
|
||||
# Basic .zshrc to prevent zsh-newuser-install prompt
|
||||
# Path to your Oh My Zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
export PATH=$PATH:$HOME/.local/bin
|
||||
|
@ -58,6 +57,7 @@
|
|||
chdir: "/home/{{ user }}"
|
||||
environment:
|
||||
HOME: "/home/{{ user }}"
|
||||
RUNZSH: "no"
|
||||
|
||||
- name: Ensure custom plugins directory exists
|
||||
file:
|
||||
|
@ -69,25 +69,25 @@
|
|||
- name: Clone zsh-syntax-highlighting plugin
|
||||
git:
|
||||
repo: https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
dest: "{{ zsh_custom }}/plugins/zsh-syntax-highlighting"
|
||||
dest: "/home/{{ ansible_user }}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting"
|
||||
update: yes
|
||||
|
||||
- name: Clone zsh-autosuggestions plugin
|
||||
git:
|
||||
repo: https://github.com/zsh-users/zsh-autosuggestions.git
|
||||
dest: "{{ zsh_custom }}/plugins/zsh-autosuggestions"
|
||||
dest: "/home/{{ ansible_user }}/.oh-my-zsh/custom/plugins/zsh-autosuggestions"
|
||||
update: yes
|
||||
|
||||
- name: Clone zsh-history-substring-search plugin
|
||||
git:
|
||||
repo: https://github.com/zsh-users/zsh-history-substring-search.git
|
||||
dest: "{{ zsh_custom }}/plugins/zsh-history-substring-search"
|
||||
dest: "/home/{{ ansible_user }}/.oh-my-zsh/custom/plugins/zsh-history-substring-search"
|
||||
update: yes
|
||||
|
||||
- name: Clone you-should-use plugin
|
||||
git:
|
||||
repo: https://github.com/MichaelAquilina/zsh-you-should-use.git
|
||||
dest: "{{ zsh_custom }}/plugins/you-should-use"
|
||||
dest: "/home/{{ ansible_user }}/.oh-my-zsh/custom/plugins/you-should-use"
|
||||
update: yes
|
||||
|
||||
- name: Ensure .local/bin directory exists
|
||||
|
|
Loading…
Reference in a new issue