fix: change variable that hold dotfiles directory

This commit is contained in:
2026-03-03 19:28:35 -05:00
parent 02a5e0df28
commit feeeb2bc5c
9 changed files with 17 additions and 15 deletions
+2 -2
View File
@@ -4,12 +4,12 @@ if [[ ! -x "$(command -v jj)" ]]; then
paru -Sy --needed --noconfirm jj
fi
${DOTFILE_DIR}/sync-config config/jj
${DOTFILES_DIR}/sync-config config/jj
JJ_CONFIG="${HOME}/.config/jj/conf.d/local.toml"
mkdir -p "$(dirname ${JJ_CONFIG})"
cp ${DOTFILE_DIR}/installer/templates/local.toml.tmpl ${JJ_CONFIG}
cp ${DOTFILES_DIR}/installer/templates/local.toml.tmpl ${JJ_CONFIG}
if [[ -n "${SJB_USER_NAME//[[:space:]]/}" ]]; then
sed -i "s/NAME_PLACEHOLDER/${SJB_USER_NAME}/g" ${JJ_CONFIG}