up
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# title
|
||||
title="ASDF configuration"
|
||||
|
||||
# include lib
|
||||
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
|
||||
|
||||
@@ -20,7 +23,7 @@ plugins=(
|
||||
|
||||
|
||||
### Install ASDF plugins ###
|
||||
log "Begin ASDF plugins installation"
|
||||
log "Begin ${title}"
|
||||
|
||||
inf "installing direnv with system version..."
|
||||
# no need to run asdf direnv setup --shell zsh --version latest
|
||||
@@ -44,5 +47,5 @@ asdf reshim python
|
||||
inf "initializing opam..."
|
||||
opam init -n
|
||||
|
||||
log "Finish ASDF plugins installation"
|
||||
log "${title} done"
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# title
|
||||
title="NeoVim configuration"
|
||||
|
||||
# include lib
|
||||
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
|
||||
|
||||
@@ -9,14 +12,14 @@ lua_version="latest:5.1"
|
||||
|
||||
{{- if (ne .hasNVim false) }}
|
||||
|
||||
log "Install Lua version for NVim via asdf"
|
||||
log "Begin ${title}"
|
||||
|
||||
inf "Lua ${lua_version}..."
|
||||
inf "install Lua ${lua_version} in asdf..."
|
||||
asdf plugin add lua 'https://github.com/Stratus3D/asdf-lua.git'
|
||||
asdf install lua ${lua_version}
|
||||
asdf set lua ${lua_version}
|
||||
|
||||
log "Lua version for NVim set"
|
||||
log "${title} done"
|
||||
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -1,22 +1,25 @@
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# title
|
||||
title="IDE's configuration"
|
||||
|
||||
# include lib
|
||||
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
|
||||
|
||||
|
||||
{{- if (ne .hasIDE false) }}
|
||||
|
||||
log "Finalize quarto install"
|
||||
log "Begin ${title}"
|
||||
|
||||
inf "Install tinytex"
|
||||
inf "install tinytex for Quarto"
|
||||
if [[ $(command -v quarto) ]]; then
|
||||
quarto install tinytex
|
||||
fi
|
||||
|
||||
inf "Install python dependencies"
|
||||
inf "install python dependencies for Quarto"
|
||||
python3 -Im pip install jupyter jupyterlab ipykernel matplotlib plotly pandas
|
||||
|
||||
inf "Install Jupyter kernels"
|
||||
inf "install and register Jupyter kernels"
|
||||
python3 -Im ipykernel install --user --name python-asdf --display-name "Python (asdf)"
|
||||
|
||||
Rscript -e "install.packages('IRkernel', repos='https://cloud.r-project.org')" \
|
||||
@@ -24,7 +27,7 @@
|
||||
|
||||
julia -e 'ENV["JUPYTER"]="/home/jeff/.asdf/installs/python/3.12.11/bin/jupyter"; using Pkg; Pkg.add("IJulia"); Pkg.build("IJulia")'
|
||||
|
||||
log "Quarto install complete"
|
||||
log "${title} done"
|
||||
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# title
|
||||
title="Zsh customization"
|
||||
|
||||
# include lib
|
||||
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
|
||||
|
||||
@@ -8,7 +11,7 @@ ZIMDIR=${HOME}/.zim
|
||||
|
||||
|
||||
### Update shell install ###
|
||||
log "Begin Zsh customization"
|
||||
log "Begin ${title}"
|
||||
|
||||
|
||||
## Update cargo
|
||||
@@ -22,5 +25,5 @@ inf "installing zim framework"
|
||||
$(which zsh) -c "source ${ZIMDIR}/zimfw.zsh init -q"
|
||||
|
||||
|
||||
log "Finish Zsh customization"
|
||||
log "${title} done"
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# title
|
||||
title="LaTeX repo cloning"
|
||||
|
||||
# include lib
|
||||
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
|
||||
|
||||
@@ -8,10 +11,10 @@ TEXMFDIR=${HOME}/texmf/tex/latex
|
||||
|
||||
|
||||
{{- if (ne .hasLatex false) }}
|
||||
log "Begin LaTeX repo initialization"
|
||||
log "Begin ${title}"
|
||||
|
||||
texhash "${TEXMFDIR}"
|
||||
|
||||
log "Finish LaTeX repo initialization"
|
||||
log "${title} done"
|
||||
{{ end -}}
|
||||
|
||||
Reference in New Issue
Block a user