From e7b6f57f45b7f1e54659842e0525d79b6a11ca9f Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 6 Dec 2022 17:33:14 +0000 Subject: [PATCH] Update .local/share/chezmoi/home/private_dot_config/git/template/symlink_commit-msg, .local/share/chezmoi/home/private_dot_config/git/template/symlink_post-checkout, .local/share/chezmoi/home/private_dot_config/git/template/symlink_post-merge, .local/share/chezmoi/home/private_dot_config/git/template/symlink_post-commit, .local/share/chezmoi/home/private_dot_config/git/template/symlink_post-rewrite, .local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-commit, .local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-push, .local/share/chezmoi/home/private_dot_config/git/template/symlink_prepare-commit-msg, .local/share/chezmoi/home/.chezmoiexternal.toml --- .local/share/chezmoi/home/.chezmoiexternal.toml | 6 ++++++ .../home/private_dot_config/git/template/symlink_commit-msg | 3 +++ .../private_dot_config/git/template/symlink_post-checkout | 3 +++ .../private_dot_config/git/template/symlink_post-commit | 3 +++ .../home/private_dot_config/git/template/symlink_post-merge | 3 +++ .../private_dot_config/git/template/symlink_post-rewrite | 3 +++ .../home/private_dot_config/git/template/symlink_pre-commit | 3 +++ .../home/private_dot_config/git/template/symlink_pre-push | 3 +++ .../git/template/symlink_prepare-commit-msg | 3 +++ 9 files changed, 30 insertions(+) create mode 100644 .local/share/chezmoi/home/private_dot_config/git/template/symlink_commit-msg create mode 100644 .local/share/chezmoi/home/private_dot_config/git/template/symlink_post-checkout create mode 100644 .local/share/chezmoi/home/private_dot_config/git/template/symlink_post-commit create mode 100644 .local/share/chezmoi/home/private_dot_config/git/template/symlink_post-merge create mode 100644 .local/share/chezmoi/home/private_dot_config/git/template/symlink_post-rewrite create mode 100644 .local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-commit create mode 100644 .local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-push create mode 100644 .local/share/chezmoi/home/private_dot_config/git/template/symlink_prepare-commit-msg diff --git a/.local/share/chezmoi/home/.chezmoiexternal.toml b/.local/share/chezmoi/home/.chezmoiexternal.toml index c450f699..b5037757 100644 --- a/.local/share/chezmoi/home/.chezmoiexternal.toml +++ b/.local/share/chezmoi/home/.chezmoiexternal.toml @@ -89,6 +89,12 @@ clone.args = ["--depth", "1"] pull.args = ["--ff-only"] +### Git Template +[".config/git/template/_/husky.sh"] + type = "file" + url = "https://github.com/typicode/husky/raw/main/husky.sh" + refreshPeriod = "{{ $refreshPeriod }}" + ### GPG [".gnupg/gpg.conf"] type = "file" diff --git a/.local/share/chezmoi/home/private_dot_config/git/template/symlink_commit-msg b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_commit-msg new file mode 100644 index 00000000..63b4b2c9 --- /dev/null +++ b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_commit-msg @@ -0,0 +1,3 @@ +{{- if true -}} +{{ .host.home }}/.local/src/shared-common/common/.config/husky/commit-msg +{{- end -}} \ No newline at end of file diff --git a/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-checkout b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-checkout new file mode 100644 index 00000000..e4fcbd80 --- /dev/null +++ b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-checkout @@ -0,0 +1,3 @@ +{{- if true -}} +{{ .host.home }}/.local/src/shared-common/common/.config/husky/post-checkout +{{- end -}} \ No newline at end of file diff --git a/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-commit b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-commit new file mode 100644 index 00000000..7d8efc38 --- /dev/null +++ b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-commit @@ -0,0 +1,3 @@ +{{- if true -}} +{{ .host.home }}/.local/src/shared-common/common/.config/husky/post-commit +{{- end -}} \ No newline at end of file diff --git a/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-merge b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-merge new file mode 100644 index 00000000..3e9d8d99 --- /dev/null +++ b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-merge @@ -0,0 +1,3 @@ +{{- if true -}} +{{ .host.home }}/.local/src/shared-common/common/.config/husky/post-merge +{{- end -}} \ No newline at end of file diff --git a/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-rewrite b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-rewrite new file mode 100644 index 00000000..ff1fc6fc --- /dev/null +++ b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_post-rewrite @@ -0,0 +1,3 @@ +{{- if true -}} +{{ .host.home }}/.local/src/shared-common/common/.config/husky/post-rewrite +{{- end -}} \ No newline at end of file diff --git a/.local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-commit b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-commit new file mode 100644 index 00000000..fa3151a8 --- /dev/null +++ b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-commit @@ -0,0 +1,3 @@ +{{- if true -}} +{{ .host.home }}/.local/src/shared-common/common/.config/husky/pre-commit +{{- end -}} \ No newline at end of file diff --git a/.local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-push b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-push new file mode 100644 index 00000000..a90e6b62 --- /dev/null +++ b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_pre-push @@ -0,0 +1,3 @@ +{{- if true -}} +{{ .host.home }}/.local/src/shared-common/common/.config/husky/pre-push +{{- end -}} \ No newline at end of file diff --git a/.local/share/chezmoi/home/private_dot_config/git/template/symlink_prepare-commit-msg b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_prepare-commit-msg new file mode 100644 index 00000000..8ebb3ed6 --- /dev/null +++ b/.local/share/chezmoi/home/private_dot_config/git/template/symlink_prepare-commit-msg @@ -0,0 +1,3 @@ +{{- if true -}} +{{ .host.home }}/.local/src/shared-common/common/.config/husky/prepare-commit-msg +{{- end -}} \ No newline at end of file