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
|
||||
lastmail = format-patch --stdout -1 HEAD
|
||||
[include]
|
||||
path = .gitconfig.local
|
||||
path = local
|
||||
|
|
|
@ -39,4 +39,7 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.config"
|
||||
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:
|
||||
src: mailcap
|
||||
dest: "{{ ansible_env.HOME }}/.mailcap"
|
||||
- name: Copy .gitconfig
|
||||
- name: Copy .config/git/config
|
||||
ansible.builtin.copy:
|
||||
src: gitconfig
|
||||
dest: "{{ ansible_env.HOME }}/.gitconfig"
|
||||
dest: "{{ ansible_env.HOME }}/.config/git/config"
|
||||
- name: Copy .quiltrc-dpkg
|
||||
ansible.builtin.copy:
|
||||
src: quiltrc-dpkg
|
||||
|
|
Loading…
Reference in a new issue