Move gitconfig to xdg path
This commit is contained in:
parent
f0b6394c34
commit
8cddeda98a
@ -29,4 +29,4 @@
|
|||||||
latest = !sh -c 'git describe --tags $(git rev-list --tags --max-count=1) | xargs git checkout' -
|
latest = !sh -c 'git describe --tags $(git rev-list --tags --max-count=1) | xargs git checkout' -
|
||||||
# conditonal config
|
# conditonal config
|
||||||
[includeIf "gitdir:**gitprojects/occ/**"]
|
[includeIf "gitdir:**gitprojects/occ/**"]
|
||||||
path = ~/.gitconfig-occ
|
path = ~/.config/git/occ
|
1
roles/config/files/.ssh/config
Normal file
1
roles/config/files/.ssh/config
Normal file
@ -0,0 +1 @@
|
|||||||
|
AddKeysToAgent yes
|
@ -30,6 +30,7 @@
|
|||||||
loop:
|
loop:
|
||||||
- "~/.emacs.d"
|
- "~/.emacs.d"
|
||||||
- "~/scripts"
|
- "~/scripts"
|
||||||
|
- "~/.gitconfig"
|
||||||
tags: config
|
tags: config
|
||||||
|
|
||||||
- name: Copy new files and directories
|
- name: Copy new files and directories
|
||||||
@ -42,21 +43,13 @@
|
|||||||
- ".config"
|
- ".config"
|
||||||
- ".face"
|
- ".face"
|
||||||
- ".fonts"
|
- ".fonts"
|
||||||
- ".gitconfig"
|
|
||||||
- ".gtkrc-2.0"
|
- ".gtkrc-2.0"
|
||||||
- ".local"
|
- ".local"
|
||||||
|
- ".ssh"
|
||||||
- ".themes"
|
- ".themes"
|
||||||
- "scripts"
|
- "scripts"
|
||||||
tags: config
|
tags: config
|
||||||
|
|
||||||
- name: Copy new templated files
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: "{{ item }}"
|
|
||||||
dest: "~/"
|
|
||||||
loop:
|
|
||||||
- ".ssh/config.j2"
|
|
||||||
tags: config
|
|
||||||
|
|
||||||
- name: Copy new files and directories (root)
|
- name: Copy new files and directories (root)
|
||||||
ansible.posix.synchronize:
|
ansible.posix.synchronize:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
AddKeysToAgent yes
|
|
||||||
|
|
||||||
Host gitlab.com
|
|
||||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
|
||||||
|
|
||||||
Host github.com
|
|
||||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
|
||||||
|
|
||||||
Host gitea.exu.li
|
|
||||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
|
||||||
|
|
||||||
Host aur.archlinux.org
|
|
||||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
|
||||||
|
|
||||||
Host git.open-circle.ch
|
|
||||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
|
||||||
AddressFamily inet
|
|
Loading…
Reference in New Issue
Block a user