1
0
This commit is contained in:
2025-08-14 00:48:48 +02:00
parent 53db973906
commit 558e795078
6 changed files with 48 additions and 61 deletions

View File

@@ -8,15 +8,15 @@
declare -A plugins
plugins=(
['direnv']=''
['starship']=''
['golang']='https://github.com/asdf-community/asdf-golang.git'
['julia']='https://github.com/rkyleg/asdf-julia.git'
['lua']='https://github.com/Stratus3D/asdf-lua.git'
['nodejs']='https://github.com/asdf-vm/asdf-nodejs.git'
['opam']='https://github.com/asdf-community/asdf-opam.git'
['r']='https://github.com/asdf-community/asdf-r.git'
['ruby']='https://github.com/asdf-vm/asdf-ruby.git'
['rust']='https://github.com/code-lever/asdf-rust.git'
['starship']=''
['python']='https://github.com/asdf-community/asdf-python.git'
['julia']='https://github.com/rkyleg/asdf-julia.git'
['r']='https://github.com/asdf-community/asdf-r.git'
)

View File

@@ -9,9 +9,10 @@ lua_version="latest:5.1"
{{- if (ne .hasNVim false) }}
log "Set Lua version for NVim"
log "Install Lua version for NVim via asdf"
inf "Lua ${lua_version}..."
asdf plugin add lua 'https://github.com/Stratus3D/asdf-lua.git'
asdf install lua ${lua_version}
asdf set lua ${lua_version}
@@ -19,13 +20,3 @@ lua_version="latest:5.1"
{{- end }}
log "Set Jupyter kernels"
inf "R kernel"
Rscript -e "install.packages('IRkernel', repos='https://cloud.r-project.org')" \
-e "IRkernel::installspec(user = TRUE)"
inf "Julia kernel"
julia -e 'using Pkg; Pkg.add("IJulia")'
log "Jypyter kernels set"

View File

@@ -0,0 +1,30 @@
#!{{ lookPath "bash" }}
# include lib
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
{{- if (ne .hasIDE false) }}
log "Finalize quarto install"
# inf "Install tinytex"
# if [[ $(command -v quarto) ]]; then
# quarto install tinytex
# fi
#
# inf "Install python dependencies"
# python3 -m pip install jupyter jupyterlab ipykernel matplotlib plotly pandas
#
# inf "Install Jupyter kernels"
# python3 -m ipykernel install --user --name python-asdf --display-name "Python (asdf)"
#
# Rscript -e "install.packages('IRkernel', repos='https://cloud.r-project.org')" \
# -e "IRkernel::installspec(user = FALSE)"
#
# julia -e 'using Pkg; Pkg.add("IJulia")'
log "Quarto install complete"
{{- end }}

View File

@@ -16,16 +16,6 @@ inf "installing cargo-update..."
cargo install cargo-update
### Install Atuin
#inf "installing atuin..."
#
#cargo install atuin
#
### Reshim
#inf "asdf reshim..."
#
#asdf reshim
### Config Zsh ###
inf "installing zim framework"