Set solarized dircolors

This commit is contained in:
Michael Mandl 2020-09-14 11:01:16 +02:00
parent 87ff607e92
commit 57d777475c
No known key found for this signature in database
GPG Key ID: 4E60F44227F611B4
2 changed files with 16 additions and 0 deletions

View 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`"

View File

@ -18,3 +18,4 @@
- dev-machine
- pinentry-wsl
- dockerd-wsl
- dircolors-wsl