From 3bc6c390c4b3840c6d61af79a44b8bd612cc3f4c Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Mon, 13 Jul 2026 13:26:05 +0200 Subject: [PATCH] fix: Fix management of symlinks for bash config --- .chezmoiexternal.yaml.tmpl | 16 ---------------- symlink_dot_bash_logout.yaml.tmpl | 1 + symlink_dot_bash_profile.tmpl | 1 + symlink_dot_bashrc.tmpl | 1 + symlink_dot_inputrc.tmpl | 1 + 5 files changed, 4 insertions(+), 16 deletions(-) create mode 100644 symlink_dot_bash_logout.yaml.tmpl create mode 100644 symlink_dot_bash_profile.tmpl create mode 100644 symlink_dot_bashrc.tmpl create mode 100644 symlink_dot_inputrc.tmpl diff --git a/.chezmoiexternal.yaml.tmpl b/.chezmoiexternal.yaml.tmpl index 143f240..aebd662 100644 --- a/.chezmoiexternal.yaml.tmpl +++ b/.chezmoiexternal.yaml.tmpl @@ -6,22 +6,6 @@ url: https://gitea.cloud.logerais.com/xavier/config-bash.git refreshPeriod: 24h # Vérifie toutes les 24h -".bash_profile": - type: symlink - target: .config/bash/.bash_profile - -".bashrc": - type: symlink - target: .config/bash/.bashrc - -".inputrc": - type: symlink - target: .config/bash/.inputrc - -".bash_logout": - type: symlink - target: .config/bash/.bash_logout - ##### [ NVIM ] ##### ".config/nvim": diff --git a/symlink_dot_bash_logout.yaml.tmpl b/symlink_dot_bash_logout.yaml.tmpl new file mode 100644 index 0000000..3adc4b6 --- /dev/null +++ b/symlink_dot_bash_logout.yaml.tmpl @@ -0,0 +1 @@ +{{ .chezmoi.homeDir }}/.config/bash/.bash_logout diff --git a/symlink_dot_bash_profile.tmpl b/symlink_dot_bash_profile.tmpl new file mode 100644 index 0000000..018fb10 --- /dev/null +++ b/symlink_dot_bash_profile.tmpl @@ -0,0 +1 @@ +{{ .chezmoi.homeDir }}/.config/bash/.bash_profile diff --git a/symlink_dot_bashrc.tmpl b/symlink_dot_bashrc.tmpl new file mode 100644 index 0000000..690817a --- /dev/null +++ b/symlink_dot_bashrc.tmpl @@ -0,0 +1 @@ +{{ .chezmoi.homeDir }}/.config/bash/.bashrc diff --git a/symlink_dot_inputrc.tmpl b/symlink_dot_inputrc.tmpl new file mode 100644 index 0000000..319813c --- /dev/null +++ b/symlink_dot_inputrc.tmpl @@ -0,0 +1 @@ +symlink_dot_inputrc.tmpl