1
0
This commit is contained in:
2025-08-12 19:48:44 +02:00
parent b7cc064895
commit 0a1a7fbe64
2 changed files with 31 additions and 20 deletions

View File

@@ -0,0 +1,31 @@
#!{{ lookPath "bash" }}
# include lib
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
# Lua version
lua_version="latest:5.1"
{{- if (ne .hasNVim false) }}
log "Set Lua version for NVim"
inf "Lua ${lua_version}..."
asdf install lua ${lua_version}
asdf set lua ${lua_version}
log "Lua version for NVim set"
{{- end }}
log "Set Jupyter kernels"
inf "R kernel"
Rscript -e "install.packages('IRkernel', repos='https://cloud.r-project.org')" \
-e "IRkernel::installspec(user = FALSE)"
inf "Julia kernel"
julia -e 'using Pkg; Pkg.add("IJulia")'
log "Jypyter kernels set"

View File

@@ -1,20 +0,0 @@
#!{{ lookPath "bash" }}
# include lib
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
# Lua version
lua_version="latest:5.1"
{{- if (ne .hasNVim false) }}
log "Finalize NVim configuration"
inf "installing Lua ${lua_version}..."
asdf install lua ${lua_version}
asdf set lua ${lua_version}
log "Finish NVim installation"
{{- end }}