File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " chezmoi" ,
33 "id" : " chezmoi" ,
4- "version" : " 1.6.0 " ,
4+ "version" : " 1.6.1 " ,
55 "description" : " Install chezmoi" ,
66 "documentationURL" : " https://github.com/ckagerer/devcontainer-features/tree/main/src/chezmoi" ,
77 "options" : {
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ tee "$INIT_ATUIN_SCRIPT_PATH" >/dev/null <<EOF
105105# (C) Copyright 2025 Christian Kagerer
106106# Purpose: Initialize Atuin login and sync for chezmoi devcontainer feature
107107
108- KEEP_GOING="\ $ {KEEP_GOING:-false}"
108+ KEEP_GOING="${KEEP_GOING:- false} "
109109
110110if [[ "\$ {KEEP_GOING}" == "true" ]]; then
111111 set +o errexit +o nounset +o pipefail
@@ -132,6 +132,10 @@ if [ -n "\${ATUIN_USER}" ] && [ -n "\${ATUIN_PASSWORD}" ] && [ -n "\${ATUIN_KEY}
132132 atuin login --username "\$ {ATUIN_USER}" --password "\$ {ATUIN_PASSWORD}" --key "\$ {ATUIN_KEY}" || true
133133 atuin sync
134134fi
135+
136+ if [[ "\$ {KEEP_GOING}" == "true" ]]; then
137+ exit 0
138+ fi
135139EOF
136140
137141chmod 755 " $INIT_ATUIN_SCRIPT_PATH "
You can’t perform that action at this time.
0 commit comments