From 9cf97a4c796edea082461167a86d4bb60df08c30 Mon Sep 17 00:00:00 2001 From: Christian Kagerer Date: Tue, 19 Nov 2024 18:29:14 +0100 Subject: [PATCH] fix(chezmoi): fix atuin symlink on alpine linux --- src/chezmoi/devcontainer-feature.json | 2 +- src/chezmoi/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chezmoi/devcontainer-feature.json b/src/chezmoi/devcontainer-feature.json index 7b9b9ab..57d4bea 100644 --- a/src/chezmoi/devcontainer-feature.json +++ b/src/chezmoi/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "chezmoi", "id": "chezmoi", - "version": "1.5.0", + "version": "1.5.1", "description": "Install chezmoi", "documentationURL": "https://github.com/ckagerer/devcontainer-features/tree/main/src/chezmoi", "options": { diff --git a/src/chezmoi/install.sh b/src/chezmoi/install.sh index 5af9177..676c687 100644 --- a/src/chezmoi/install.sh +++ b/src/chezmoi/install.sh @@ -109,7 +109,7 @@ if [ -n "\${ATUIN_USER}" ] && [ -n "\${ATUIN_PASSWORD}" ] && [ -n "\${ATUIN_KEY} mv ~/.local/share/atuin ~/.local/share/atuin.bak fi mkdir -p /.persist-shell-history/atuin - ln --symbolic --force /.persist-shell-history/atuin ~/.local/share + ln -s -f /.persist-shell-history/atuin ~/.local/share fi atuin login --username "\${ATUIN_USER}" --password "\${ATUIN_PASSWORD}" --key "\${ATUIN_KEY}" || true