feat: deprecate some tools to keep only mise

This commit is contained in:
2025-06-24 00:26:01 +02:00
parent 6462e4ce57
commit 10015173f9
6 changed files with 4 additions and 2 deletions

View File

@ -1,18 +0,0 @@
# # Anyenv
#
# git clone https://github.com/anyenv/anyenv.git ~/.anyenv
# export PATH="$HOME/.anyenv/bin:$PATH"
# yes | anyenv install --init
#
# eval "$(anyenv init -)"
# git clone https://github.com/znz/anyenv-update.git $(anyenv root)/plugins/anyenv-update
# git clone https://github.com/znz/anyenv-git.git $(anyenv root)/plugins/anyenv-git
#
# # sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev
# yes | anyenv install pyenv
# eval "$(anyenv init -)"
# git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
#
# # sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev
# yes | anyenv install rbenv
# eval "$(anyenv init -)"

View File

@ -1,54 +0,0 @@
#!/bin/bash
# Install asdf
test -d $HOME/.asdf || git clone https://github.com/asdf-vm/asdf.git $HOME/.asdf
source $HOME/.asdf/asdf.sh
source $HOME/.asdf/completions/asdf.bash
# Install plugins and tools
declare -a tools
tools+=(shellcheck)
tools+=(direnv)
tools+=(lazygit)
tools+=(jq yq)
tools+=(kubectl helm k9s)
tools+=(vault)
tools+=(terraform terragrunt)
tools+=(ripgrep exa bat dust delta)
for tool in "${tools[@]}"; do
echo
echo "-- Installing ${tool}"
asdf plugin add ${tool}
asdf install ${tool} latest
asdf global ${tool} latest
done
# Configure asdf/direnv integration
asdf direnv setup --shell bash --version latest
# Install extra plugins and tools
# lsd
echo
echo "-- Installing lsd"
asdf plugin add lsd https://github.com/mise-plugins/asdf-lsd/
asdf install lsd latest
asdf global lsd latest
# Mcfly
echo
echo "-- Installing mcfly"
asdf plugin add mcfly https://github.com/barolab/asdf-mcfly.git
asdf install mcfly latest
asdf global mcfly latest
# Broot
echo
echo "-- Installing broot"
asdf plugin add broot https://github.com/cmur2/asdf-broot.git
asdf install broot latest
asdf global broot latest

View File

@ -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

View File

@ -1,15 +0,0 @@
#!/bin/bash
# Install nix (with the nix-installer tool from DeterminateSystems)
# (See https://github.com/DeterminateSystems/nix-installer)
if ( ! command -v nix &> /dev/null ); then
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
fi
# Install home-manager
if (command -v nix-channel && command -v nix-shell &> /dev/null ); then
nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
fi

View File

@ -1,6 +0,0 @@
#!/bin/bash
# powerline-go
test -x ~/.local/bin/powerline-go \
|| wget -O ~/.local/bin/powerline-go "https://github.com/justjanne/powerline-go/releases/latest/download/powerline-go-linux-amd64" \
&& chmod +x ~/.local/bin/powerline-go