From f2f9a5dc01c97c040dbbe6216646909380675d84 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sun, 3 Mar 2024 15:09:10 +0100 Subject: [PATCH] Up. --- .chezmoi.toml.tmpl | 4 ++++ .../run_onchange_after_10-install-packages.sh.tmpl | 3 +-- .../run_onchange_after_11-install-asdf-plugins.sh.tmpl | 3 ++- .../run_onchange_after_20-prepare-shell.sh.tmpl | 2 +- .../run_onchange_after_80-install-nvim.sh.tmpl | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .chezmoi.toml.tmpl diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl new file mode 100644 index 0000000..e0baeac --- /dev/null +++ b/.chezmoi.toml.tmpl @@ -0,0 +1,4 @@ +{{ $installSystemRustup := promptBool "Install rustup from system or asdf ?" true -}} + +[data] + installSystemRustup = {{ $installSystemRustup }} diff --git a/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl b/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl index a2eccda..9dc8b86 100644 --- a/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl @@ -6,7 +6,7 @@ log() { } inf() { - printf " $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1" + printf "╚═══ᐳ $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1" } @@ -17,7 +17,6 @@ packages=( pass libyaml ranger - rustup tmux trash-cli ueberzug diff --git a/home/.chezmoiscripts/run_onchange_after_11-install-asdf-plugins.sh.tmpl b/home/.chezmoiscripts/run_onchange_after_11-install-asdf-plugins.sh.tmpl index 8f9a7d3..a5f635f 100644 --- a/home/.chezmoiscripts/run_onchange_after_11-install-asdf-plugins.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_after_11-install-asdf-plugins.sh.tmpl @@ -9,7 +9,7 @@ log() { } inf() { - printf " $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1" + printf "╚═══ᐳ $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1" } @@ -21,6 +21,7 @@ plugins=( ['nodejs']='https://github.com/asdf-vm/asdf-nodejs.git' ['opam']='https://github.com/asdf-community/asdf-opam.git' ['ruby']='https://github.com/asdf-vm/asdf-ruby.git' + ['rust']='https://github.com/code-lever/asdf-rust.git' ) diff --git a/home/.chezmoiscripts/run_onchange_after_20-prepare-shell.sh.tmpl b/home/.chezmoiscripts/run_onchange_after_20-prepare-shell.sh.tmpl index 46b9c1d..f8269d5 100644 --- a/home/.chezmoiscripts/run_onchange_after_20-prepare-shell.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_after_20-prepare-shell.sh.tmpl @@ -6,7 +6,7 @@ log() { } inf() { - printf " $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1" + printf "╚═══ᐳ $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1" } diff --git a/home/.chezmoiscripts/run_onchange_after_80-install-nvim.sh.tmpl b/home/.chezmoiscripts/run_onchange_after_80-install-nvim.sh.tmpl index c1b3b02..522a565 100644 --- a/home/.chezmoiscripts/run_onchange_after_80-install-nvim.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_after_80-install-nvim.sh.tmpl @@ -6,7 +6,7 @@ log() { } inf() { - printf " $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1" + printf "╚═══ᐳ $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1" }