diff --git a/.chezmoiignore b/.chezmoiignore index 7588aa5..d0aaa82 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -1,4 +1,3 @@ -/git-personal/ /go/ /hellotech/ /i3/ diff --git a/dot_config/git/config-personal.tmpl b/dot_config/git/config-personal.tmpl new file mode 100644 index 0000000..5e347d2 --- /dev/null +++ b/dot_config/git/config-personal.tmpl @@ -0,0 +1,6 @@ +{{ if lookPath "git" -}} +[url "ssh://git@git.buddy.wtf:2022"] + insteadOf = https://git.buddy.wtf +[url "ssh://git@git.xbudex.com:2022"] + insteadOf = https://git.xbudex.com +{{- end }} diff --git a/git-personal/.config/git/config-git.buddy.wtf b/git-personal/.config/git/config-git.buddy.wtf deleted file mode 100644 index f0323b6..0000000 --- a/git-personal/.config/git/config-git.buddy.wtf +++ /dev/null @@ -1,2 +0,0 @@ -[url "ssh://git@git.buddy.wtf:2022"] - insteadOf = https://git.buddy.wtf diff --git a/git-personal/.config/git/config-git.xbudex.com b/git-personal/.config/git/config-git.xbudex.com deleted file mode 100644 index 0b8d0c7..0000000 --- a/git-personal/.config/git/config-git.xbudex.com +++ /dev/null @@ -1,2 +0,0 @@ -[url "ssh://git@git.xbudex.com:2022"] - insteadOf = https://git.xbudex.com