Fix syntax problem.

This commit is contained in:
cyteen 2026-03-04 15:01:09 +00:00
parent aba2272621
commit 37ec3ff9ef
1 changed files with 12 additions and 1 deletions

View File

@ -8,6 +8,8 @@ DEST=${1:-/etc/skel}
URI="https://mise.jdx.dev"
KEY_DIR="/usr/share/keyrings"
KEY="${KEY_DIR}/mise-archive-keyring.asc"
MISE_HOME="${DEST}/.config/mise"
MISE_CONFIG_DIR="${MISE_HOME}/conf.d"
curl -fSs ${URI}/gpg-key.pub | sudo tee ${KEY} 1>/dev/null
@ -25,4 +27,13 @@ sudo ln -sf /etc/apt/sources.list-available/mise.sources /etc/apt/sources.list.d
sudo apt update -qq
sudo apt install -y mise
echo 'eval "$(/usr/bin/mise activate zsh)"' >${DEST}/.zshrc.d/004_mise.zsh
echo "eval $(/usr/bin/mise activate zsh)" >"${DEST}/.zshrc.d/004_mise.zsh"
if [[ -f ${MISE_HOME}/mise.toml ]]; then
conf_print_mise_config() {
cat <<EOF
EOF
}
# conf_print_mise_config | sudo tee ${MISE_HOME}/mise.toml
fi