switch from rtx to mise

This commit is contained in:
Gabriel Augendre 2024-01-20 09:07:06 +01:00
parent 1c1d519397
commit 4791e207d4
6 changed files with 7 additions and 10 deletions

View file

@ -1,2 +1 @@
use rtx

View file

@ -1,5 +0,0 @@
### Do not edit. This was autogenerated by 'rtx direnv' ###
use_rtx() {
direnv_load rtx direnv exec
}

View file

@ -43,7 +43,7 @@ set -g fish_greeting "Yo ✌ Bien ?"
# Install python with pyenv with tcl/tk support # Install python with pyenv with tcl/tk support
# https://stackoverflow.com/a/60469203/2758732 # 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 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 set -gx PIP_REQUIRE_VIRTUALENV true
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish 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 EDITOR vim
set -gx DJANGOPROJECT_DATA_DIR $HOME/.djangoproject 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 test -e {$HOME}/.config/fish/ovh.fish; and source {$HOME}/.config/fish/ovh.fish
set tide_character_icon '$' set tide_character_icon '$'

View file

@ -1,3 +1,3 @@
function pyenv function pyenv
echo "Use rtx!" echo "Use mise!"
end end

View file

@ -0,0 +1,3 @@
[settings]
experimental = true
legacy_version_file = false

View file

@ -1,7 +1,7 @@
export PATH=$PATH:~/bin export PATH=$PATH:~/bin
export LC_ALL=fr_FR.UTF-8 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. # 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" export PATH="$PATH:$HOME/.rvm/bin:$HOME/Projects/golang/bin"