diff --git a/home/.chezmoiscripts/run_once_after_10-install-asdf-plugins.sh.tmpl b/home/.chezmoiscripts/run_once_after_10-asdf-config.sh.tmpl similarity index 93% rename from home/.chezmoiscripts/run_once_after_10-install-asdf-plugins.sh.tmpl rename to home/.chezmoiscripts/run_once_after_10-asdf-config.sh.tmpl index f1fb811..fd26068 100644 --- a/home/.chezmoiscripts/run_once_after_10-install-asdf-plugins.sh.tmpl +++ b/home/.chezmoiscripts/run_once_after_10-asdf-config.sh.tmpl @@ -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" diff --git a/home/.chezmoiscripts/run_once_after_20-nvim-config.sh.tmpl b/home/.chezmoiscripts/run_once_after_20-nvim-config.sh.tmpl index 76bb0a7..d7125e7 100644 --- a/home/.chezmoiscripts/run_once_after_20-nvim-config.sh.tmpl +++ b/home/.chezmoiscripts/run_once_after_20-nvim-config.sh.tmpl @@ -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 }} diff --git a/home/.chezmoiscripts/run_once_after_30-quarto-config.sh.tmpl b/home/.chezmoiscripts/run_once_after_30-quarto-config.sh.tmpl index 240b26c..deb54a5 100644 --- a/home/.chezmoiscripts/run_once_after_30-quarto-config.sh.tmpl +++ b/home/.chezmoiscripts/run_once_after_30-quarto-config.sh.tmpl @@ -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 }} diff --git a/home/.chezmoiscripts/run_once_after_40-install-shell.sh.tmpl b/home/.chezmoiscripts/run_once_after_40-shell-config.sh.tmpl similarity index 81% rename from home/.chezmoiscripts/run_once_after_40-install-shell.sh.tmpl rename to home/.chezmoiscripts/run_once_after_40-shell-config.sh.tmpl index cdb8cb4..b14c87f 100644 --- a/home/.chezmoiscripts/run_once_after_40-install-shell.sh.tmpl +++ b/home/.chezmoiscripts/run_once_after_40-shell-config.sh.tmpl @@ -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" diff --git a/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl b/home/.chezmoiscripts/run_once_after_50-latex-config.sh.tmpl similarity index 71% rename from home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl rename to home/.chezmoiscripts/run_once_after_50-latex-config.sh.tmpl index 042a166..9e1eb75 100644 --- a/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl +++ b/home/.chezmoiscripts/run_once_after_50-latex-config.sh.tmpl @@ -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 -}}