Set solarized dircolors
This commit is contained in:
parent
87ff607e92
commit
57d777475c
15
roles/dircolors-wsl/tasks/main.yaml
Normal file
15
roles/dircolors-wsl/tasks/main.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- name: clone dircolors repo
|
||||||
|
become_user: "{{ account.name }}"
|
||||||
|
git:
|
||||||
|
repo: git@github.com:seebi/dircolors-solarized.git
|
||||||
|
dest: "/home/{{ account.name }}/.dircolors-solarized"
|
||||||
|
accept_hostkey: yes
|
||||||
|
update: yes
|
||||||
|
|
||||||
|
- name: enable dircolors
|
||||||
|
become_user: "{{ account.name }}"
|
||||||
|
lineinfile:
|
||||||
|
path: "/home/{{ account.name }}/.zshrc"
|
||||||
|
regexp: "eval `dircolors"
|
||||||
|
line: "[ -f ~/.dircolors-solarized/dircolors.256dark ] && eval `dircolors ~/.dircolors-solarized/dircolors.256dark`"
|
@ -18,3 +18,4 @@
|
|||||||
- dev-machine
|
- dev-machine
|
||||||
- pinentry-wsl
|
- pinentry-wsl
|
||||||
- dockerd-wsl
|
- dockerd-wsl
|
||||||
|
- dircolors-wsl
|
||||||
|
Reference in New Issue
Block a user