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