From 10015173f931726f2b1e976341c2e2f535fff3e3 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Tue, 24 Jun 2025 00:26:01 +0200 Subject: [PATCH] feat: deprecate some tools to keep only mise --- {tools.d => deprecated.d}/anyenv.bash | 0 {tools.d => deprecated.d}/asdf.bash | 0 {tools.d => deprecated.d}/powerline.bash | 0 {tools.d => optional.d}/nix.bash | 0 os.d/ubuntu.bash | 2 +- tools.d/mise.bash | 4 +++- 6 files changed, 4 insertions(+), 2 deletions(-) rename {tools.d => deprecated.d}/anyenv.bash (100%) rename {tools.d => deprecated.d}/asdf.bash (100%) rename {tools.d => deprecated.d}/powerline.bash (100%) rename {tools.d => optional.d}/nix.bash (100%) diff --git a/tools.d/anyenv.bash b/deprecated.d/anyenv.bash similarity index 100% rename from tools.d/anyenv.bash rename to deprecated.d/anyenv.bash diff --git a/tools.d/asdf.bash b/deprecated.d/asdf.bash similarity index 100% rename from tools.d/asdf.bash rename to deprecated.d/asdf.bash diff --git a/tools.d/powerline.bash b/deprecated.d/powerline.bash similarity index 100% rename from tools.d/powerline.bash rename to deprecated.d/powerline.bash diff --git a/tools.d/nix.bash b/optional.d/nix.bash similarity index 100% rename from tools.d/nix.bash rename to optional.d/nix.bash diff --git a/os.d/ubuntu.bash b/os.d/ubuntu.bash index 561126f..4acf608 100644 --- a/os.d/ubuntu.bash +++ b/os.d/ubuntu.bash @@ -4,7 +4,7 @@ if (grep -q Ubuntu <(lsb_release -i)); then sudo apt update sudo apt upgrade -y - sudo apt install -y coreutils grep less tar tree + sudo apt install -y coreutils grep less tar zip unzip tree sudo apt install -y man manpages-fr manpages-fr-extra sudo apt install -y bash zsh fish sudo apt install -y screen tmux diff --git a/tools.d/mise.bash b/tools.d/mise.bash index 0cc7b91..7390e4d 100644 --- a/tools.d/mise.bash +++ b/tools.d/mise.bash @@ -2,7 +2,7 @@ # mise-en-place (https://mise.jdx.dev/) -# Install +# Install mise if (! command -v mise &>/dev/null); then curl https://mise.run | sh @@ -15,4 +15,6 @@ if (command -v mise &>/dev/null); then # Install some plugins (mise where usage &>/dev/null) || mise use -g usage # for completion # mise use -g cargo:ubi # to install binaries from Github release + + (mise where chezmoi &>/dev/null) || mise use -g chezmoi # to manage dotfiles fi