1
0
Files
chezmoi/home/.chezmoiscripts/run_once_after_30-quarto-config.sh.tmpl
2025-08-14 18:01:18 +02:00

30 lines
630 B
Cheetah

#!{{ lookPath "bash" }}
# title
title="IDE's configuration"
# include lib
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
{{- if (ne .hasIDE false) }}
log "Begin ${title}"
inf "install tinytex for Quarto"
if [[ $(command -v quarto) ]]; then
quarto install tinytex
fi
python3 -Im ipykernel install --user --name python-local --display-name "Python (local)"
Rscript -e "install.packages('IRkernel', repos='https://cloud.r-project.org')" \
-e "IRkernel::installspec(user = TRUE)"
julia -e "using Pkg; Pkg.add(\"IJulia\"); Pkg.build(\"IJulia\")"
log "${title} done"
{{- end }}