Set solarized dircolors
This commit is contained in:
parent
87ff607e92
commit
57d777475c
2 changed files with 16 additions and 0 deletions
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
|
||||
- pinentry-wsl
|
||||
- dockerd-wsl
|
||||
- dircolors-wsl
|
||||
|
|
Loading…
Reference in a new issue