From 8d621b4a32a9fbba2242af90db0ff7338a1f7306 Mon Sep 17 00:00:00 2001 From: Badstagram Date: Mon, 15 Dec 2025 14:42:09 +0000 Subject: [PATCH] fix(vscode): fix file locations on macos --- .chezmoiignore | 1 + .../Code/User => .chezmoitemplates}/keybindings.json | 0 .../Code/User => .chezmoitemplates}/settings.json | 0 Library/Application Support/Code/User/keybindings.json.tmpl | 1 + Library/Application Support/Code/User/settings.json.tmpl | 1 + private_dot_config/Code/User/keybindings.json.tmpl | 1 + private_dot_config/Code/User/settings.json.tmpl | 1 + 7 files changed, 5 insertions(+) rename {private_dot_config/Code/User => .chezmoitemplates}/keybindings.json (100%) rename {private_dot_config/Code/User => .chezmoitemplates}/settings.json (100%) create mode 100644 Library/Application Support/Code/User/keybindings.json.tmpl create mode 100644 Library/Application Support/Code/User/settings.json.tmpl create mode 100644 private_dot_config/Code/User/keybindings.json.tmpl create mode 100644 private_dot_config/Code/User/settings.json.tmpl diff --git a/.chezmoiignore b/.chezmoiignore index 30ab48a..55297c7 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -3,4 +3,5 @@ Library/ {{ end }} {{ if ne .chezmoi.os "linux" }} .config/hyfetch.json +.config/Code {{ end }} diff --git a/private_dot_config/Code/User/keybindings.json b/.chezmoitemplates/keybindings.json similarity index 100% rename from private_dot_config/Code/User/keybindings.json rename to .chezmoitemplates/keybindings.json diff --git a/private_dot_config/Code/User/settings.json b/.chezmoitemplates/settings.json similarity index 100% rename from private_dot_config/Code/User/settings.json rename to .chezmoitemplates/settings.json diff --git a/Library/Application Support/Code/User/keybindings.json.tmpl b/Library/Application Support/Code/User/keybindings.json.tmpl new file mode 100644 index 0000000..3b61b93 --- /dev/null +++ b/Library/Application Support/Code/User/keybindings.json.tmpl @@ -0,0 +1 @@ +{{- template "settings.json" -}} diff --git a/Library/Application Support/Code/User/settings.json.tmpl b/Library/Application Support/Code/User/settings.json.tmpl new file mode 100644 index 0000000..3b61b93 --- /dev/null +++ b/Library/Application Support/Code/User/settings.json.tmpl @@ -0,0 +1 @@ +{{- template "settings.json" -}} diff --git a/private_dot_config/Code/User/keybindings.json.tmpl b/private_dot_config/Code/User/keybindings.json.tmpl new file mode 100644 index 0000000..3b61b93 --- /dev/null +++ b/private_dot_config/Code/User/keybindings.json.tmpl @@ -0,0 +1 @@ +{{- template "settings.json" -}} diff --git a/private_dot_config/Code/User/settings.json.tmpl b/private_dot_config/Code/User/settings.json.tmpl new file mode 100644 index 0000000..3b61b93 --- /dev/null +++ b/private_dot_config/Code/User/settings.json.tmpl @@ -0,0 +1 @@ +{{- template "settings.json" -}}