Move git config into XDG_CONFIG_HOME
This commit is contained in:
parent
6cda7a213e
commit
a318f2989b
3 changed files with 7 additions and 4 deletions
|
@ -18,4 +18,4 @@
|
||||||
last = log -1 HEAD --pretty=fuller
|
last = log -1 HEAD --pretty=fuller
|
||||||
lastmail = format-patch --stdout -1 HEAD
|
lastmail = format-patch --stdout -1 HEAD
|
||||||
[include]
|
[include]
|
||||||
path = .gitconfig.local
|
path = local
|
||||||
|
|
|
@ -39,4 +39,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_env.HOME }}/.config"
|
path: "{{ ansible_env.HOME }}/.config"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0700'
|
- name: Create ~/.config/git directory
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ ansible_env.HOME }}/.config/git"
|
||||||
|
state: directory
|
||||||
|
|
|
@ -37,10 +37,10 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: mailcap
|
src: mailcap
|
||||||
dest: "{{ ansible_env.HOME }}/.mailcap"
|
dest: "{{ ansible_env.HOME }}/.mailcap"
|
||||||
- name: Copy .gitconfig
|
- name: Copy .config/git/config
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: gitconfig
|
src: gitconfig
|
||||||
dest: "{{ ansible_env.HOME }}/.gitconfig"
|
dest: "{{ ansible_env.HOME }}/.config/git/config"
|
||||||
- name: Copy .quiltrc-dpkg
|
- name: Copy .quiltrc-dpkg
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: quiltrc-dpkg
|
src: quiltrc-dpkg
|
||||||
|
|
Loading…
Reference in a new issue