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:
|
copy:
|
||||||
dest: "/home/{{ user }}/.zshrc"
|
dest: "/home/{{ user }}/.zshrc"
|
||||||
content: |
|
content: |
|
||||||
# Basic .zshrc to prevent zsh-newuser-install prompt
|
|
||||||
# Path to your Oh My Zsh installation.
|
# Path to your Oh My Zsh installation.
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
export PATH=$PATH:$HOME/.local/bin
|
export PATH=$PATH:$HOME/.local/bin
|
||||||
|
@ -58,6 +57,7 @@
|
||||||
chdir: "/home/{{ user }}"
|
chdir: "/home/{{ user }}"
|
||||||
environment:
|
environment:
|
||||||
HOME: "/home/{{ user }}"
|
HOME: "/home/{{ user }}"
|
||||||
|
RUNZSH: "no"
|
||||||
|
|
||||||
- name: Ensure custom plugins directory exists
|
- name: Ensure custom plugins directory exists
|
||||||
file:
|
file:
|
||||||
|
@ -69,25 +69,25 @@
|
||||||
- name: Clone zsh-syntax-highlighting plugin
|
- name: Clone zsh-syntax-highlighting plugin
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/zsh-users/zsh-syntax-highlighting.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
|
update: yes
|
||||||
|
|
||||||
- name: Clone zsh-autosuggestions plugin
|
- name: Clone zsh-autosuggestions plugin
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/zsh-users/zsh-autosuggestions.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
|
update: yes
|
||||||
|
|
||||||
- name: Clone zsh-history-substring-search plugin
|
- name: Clone zsh-history-substring-search plugin
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/zsh-users/zsh-history-substring-search.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
|
update: yes
|
||||||
|
|
||||||
- name: Clone you-should-use plugin
|
- name: Clone you-should-use plugin
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/MichaelAquilina/zsh-you-should-use.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
|
update: yes
|
||||||
|
|
||||||
- name: Ensure .local/bin directory exists
|
- name: Ensure .local/bin directory exists
|
||||||
|
|
Loading…
Reference in a new issue