From ffe43cbc76ab0e5f03695cbc6378f35f7e8842a0 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 24 Nov 2022 22:09:56 +0000 Subject: [PATCH] Update dotfiles/.local/share/chezmoi/home/private_dot_config/git/config.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiexternal.toml --- dotfiles/.local/share/chezmoi/home/.chezmoiexternal.toml | 8 +++++++- .../share/chezmoi/home/private_dot_config/git/config.tmpl | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dotfiles/.local/share/chezmoi/home/.chezmoiexternal.toml b/dotfiles/.local/share/chezmoi/home/.chezmoiexternal.toml index 50e48168..6881b036 100644 --- a/dotfiles/.local/share/chezmoi/home/.chezmoiexternal.toml +++ b/dotfiles/.local/share/chezmoi/home/.chezmoiexternal.toml @@ -77,7 +77,13 @@ [".local/src/shared-common"] type = "git-repo" url = "https://gitlab.com/megabyte-labs/common/shared.git" - refreshPeriod = "{{ $refreshPeriod }}" + clone.args = ["--depth", "1"] + pull.args = ["--ff-only"] + +### CookieCutter Template +[".config/git/template"] + type = "git-repo" + url = "https://gitlab.com/megabyte-labs/templates/cookiecutter.git" clone.args = ["--depth", "1"] pull.args = ["--ff-only"] diff --git a/dotfiles/.local/share/chezmoi/home/private_dot_config/git/config.tmpl b/dotfiles/.local/share/chezmoi/home/private_dot_config/git/config.tmpl index 03175330..4d5c9bc7 100644 --- a/dotfiles/.local/share/chezmoi/home/private_dot_config/git/config.tmpl +++ b/dotfiles/.local/share/chezmoi/home/private_dot_config/git/config.tmpl @@ -112,7 +112,7 @@ autocorrect = 20 [init] defaultBranch = master - templatedir = ~/.config/git/template + templatedir = ${XDG_CONFIG_HOME}/.config/git/template [interactive] diffFilter = delta --color-only --features=interactive [merge]