From 4791e207d45fa433b2ddd04c520b131835467163 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 20 Jan 2024 09:07:06 +0100 Subject: [PATCH] switch from rtx to mise --- dot_config/direnv/direnvrc | 1 - dot_config/direnv/lib/use_rtx.sh | 5 ----- dot_config/fish/private_config.fish.tmpl | 4 ++-- dot_config/fish/private_functions/pyenv.fish | 2 +- dot_config/mise/config.toml | 3 +++ private_dot_bashrc | 2 +- 6 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 dot_config/direnv/lib/use_rtx.sh create mode 100644 dot_config/mise/config.toml diff --git a/dot_config/direnv/direnvrc b/dot_config/direnv/direnvrc index 3f2aff9..8b13789 100644 --- a/dot_config/direnv/direnvrc +++ b/dot_config/direnv/direnvrc @@ -1,2 +1 @@ -use rtx diff --git a/dot_config/direnv/lib/use_rtx.sh b/dot_config/direnv/lib/use_rtx.sh deleted file mode 100644 index 838b205..0000000 --- a/dot_config/direnv/lib/use_rtx.sh +++ /dev/null @@ -1,5 +0,0 @@ -### Do not edit. This was autogenerated by 'rtx direnv' ### -use_rtx() { - direnv_load rtx direnv exec -} - diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index 9d58a9d..637e347 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -43,7 +43,7 @@ set -g fish_greeting "Yo ✌ Bien ?" # Install python with pyenv with tcl/tk support # https://stackoverflow.com/a/60469203/2758732 set -gx PYTHON_CONFIGURE_OPTS "--with-tcltk-includes='-I/usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'" -set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/rtx/installs/python/3.11.6/bin/python3" +set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/mise/installs/python/3.12.1/bin/python3.12" set -gx PIP_REQUIRE_VIRTUALENV true test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish @@ -51,7 +51,7 @@ test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shel set -gx EDITOR vim set -gx DJANGOPROJECT_DATA_DIR $HOME/.djangoproject -rtx activate fish | source +mise activate fish | source test -e {$HOME}/.config/fish/ovh.fish; and source {$HOME}/.config/fish/ovh.fish set tide_character_icon '$' diff --git a/dot_config/fish/private_functions/pyenv.fish b/dot_config/fish/private_functions/pyenv.fish index 5996ef9..04f017d 100644 --- a/dot_config/fish/private_functions/pyenv.fish +++ b/dot_config/fish/private_functions/pyenv.fish @@ -1,3 +1,3 @@ function pyenv -echo "Use rtx!" +echo "Use mise!" end diff --git a/dot_config/mise/config.toml b/dot_config/mise/config.toml new file mode 100644 index 0000000..6bbda53 --- /dev/null +++ b/dot_config/mise/config.toml @@ -0,0 +1,3 @@ +[settings] +experimental = true +legacy_version_file = false diff --git a/private_dot_bashrc b/private_dot_bashrc index 4fccc1e..6fbeec7 100644 --- a/private_dot_bashrc +++ b/private_dot_bashrc @@ -1,7 +1,7 @@ export PATH=$PATH:~/bin export LC_ALL=fr_FR.UTF-8 -eval "$(~/bin/rtx activate bash)" +eval "$(~/bin/mise activate bash)" # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. export PATH="$PATH:$HOME/.rvm/bin:$HOME/Projects/golang/bin"