fix: change variable that hold dotfiles directory
This commit is contained in:
+2
-2
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user