From 1cbf90a0938ecb184b8abb4f5039ece2afbbaf5a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 12 May 2020 22:07:00 +1200 Subject: Use XDG basedirs for Git config --- git/config.mi5 | 37 +++++++++++++++++++++++++++++++++++++ git/gitconfig.mi5 | 37 ------------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 git/config.mi5 delete mode 100644 git/gitconfig.mi5 (limited to 'git') diff --git a/git/config.mi5 b/git/config.mi5 new file mode 100644 index 00000000..fba79411 --- /dev/null +++ b/git/config.mi5 @@ -0,0 +1,37 @@ +[commit] + status = false + +[diff] + algorithm = patience + +[fetch] + output = compact + +[init] + templateDir = <% XDG_CONFIG_HOME %>/git/template + +[log] + date = local + decorate = short + +[merge] + ff = false + log = 1024 + +[pull] + ff = only + +[push] + default = current + +[sendemail] + confirm = compose + smtpServer = <% SENDMAIL %> + +[status] + short = true + +[user] + name = <% NAME %> + email = <% EMAIL %> + signingKey = <% KEY %> diff --git a/git/gitconfig.mi5 b/git/gitconfig.mi5 deleted file mode 100644 index 11b815d1..00000000 --- a/git/gitconfig.mi5 +++ /dev/null @@ -1,37 +0,0 @@ -[commit] - status = false - -[diff] - algorithm = patience - -[fetch] - output = compact - -[init] - templateDir = ~/.git-template - -[log] - date = local - decorate = short - -[merge] - ff = false - log = 1024 - -[pull] - ff = only - -[push] - default = current - -[sendemail] - confirm = compose - smtpServer = <% SENDMAIL %> - -[status] - short = true - -[user] - name = <% NAME %> - email = <% EMAIL %> - signingKey = <% KEY %> -- cgit v1.2.3