Compare commits

..

6 commits

14 changed files with 19 additions and 49 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

@ -1,4 +1,4 @@
fish_add_path /opt/homebrew/opt/curl/bin /opt/homebrew/bin $HOME/.local/bin $HOME/.cargo/bin $HOME/go/bin fish_add_path /opt/homebrew/opt/curl/bin /opt/homebrew/bin /opt/homebrew/sbin $HOME/.local/bin $HOME/.cargo/bin $HOME/go/bin
{{- if eq .chezmoi.os "linux" }} {{- if eq .chezmoi.os "linux" }}
fish_add_path /home/linuxbrew/.linuxbrew/bin $HOME/.local/share/JetBrains/Toolbox/scripts fish_add_path /home/linuxbrew/.linuxbrew/bin $HOME/.local/share/JetBrains/Toolbox/scripts
eval "$(brew shellenv)" eval "$(brew shellenv)"
@ -43,15 +43,16 @@ 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
set -gx MISE_PYTHON_VENV_AUTO_CREATE 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
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,6 +0,0 @@
function audio-airpods-conf
pacmd set-card-profile bluez_card.10_CF_0F_EF_EE_EF handsfree_head_unit
pacmd set-default-source bluez_source.10_CF_0F_EF_EE_EF.handsfree_head_unit
pacmd set-default-sink bluez_sink.10_CF_0F_EF_EE_EF.handsfree_head_unit
pacmd set-source-volume bluez_source.10_CF_0F_EF_EE_EF.handsfree_head_unit 65535
end

View file

@ -1,5 +0,0 @@
function audio-airpods-no-mic
pacmd set-card-profile bluez_card.10_CF_0F_EF_EE_EF a2dp_sink
pacmd set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo
pacmd set-default-sink bluez_sink.10_CF_0F_EF_EE_EF.a2dp_sink
end

View file

@ -1,4 +0,0 @@
function audio-onboard
pacmd set-default-sink "alsa_output.pci-0000_00_1f.3.analog-stereo"
pacmd set-default-source "alsa_input.pci-0000_00_1f.3.analog-stereo"
end

View file

@ -1,6 +0,0 @@
function audio-plt-conf
pacmd set-card-profile bluez_card.F4_B6_88_D4_1E_5D handsfree_head_unit
pacmd set-default-source bluez_source.F4_B6_88_D4_1E_5D.handsfree_head_unit
pacmd set-default-sink bluez_sink.F4_B6_88_D4_1E_5D.handsfree_head_unit
pacmd set-source-volume bluez_source.F4_B6_88_D4_1E_5D.handsfree_head_unit 65535
end

View file

@ -1,5 +0,0 @@
function audio-plt-no-mic
pacmd set-card-profile bluez_card.F4_B6_88_D4_1E_5D a2dp_sink
pacmd set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo
pacmd set-default-sink bluez_sink.F4_B6_88_D4_1E_5D.a2dp_sink
end

View file

@ -1,9 +1,10 @@
function chezmoiupdate function chezmoiupdate
if not bw login --check set -x NODE_OPTIONS "--no-deprecation"
set -x BW_SESSION (bw login --raw) if not bw login --check
end set -x BW_SESSION (bw login --raw)
if not bw unlock --check end
set -x BW_SESSION (bw unlock --raw) if not bw unlock --check
end set -x BW_SESSION (bw unlock --raw)
chezmoi update end
chezmoi update
end end

View file

@ -1,3 +0,0 @@
function daily
google-chrome https://bbb.gatewatcher.com/b/mat-thm-cn4 > /dev/null 2>&1 & && disown
end

View file

@ -1,3 +1,3 @@
function ll --wraps=ls --wraps=exa function ll --wraps=ls --wraps=eza
exa --long --all --header --group --git $argv eza --long --all --header --group --git $argv
end end

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"