Compare commits

..

No commits in common. "beb4f22aaa8b0dddbb55204e47df6e633c4e0710" and "2ccd7a1f91f9016adf21e2fc5a124e8cc1467e63" have entirely different histories.

14 changed files with 49 additions and 19 deletions

View file

@ -1 +1,2 @@
use rtx

View file

@ -0,0 +1,5 @@
### 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 /opt/homebrew/sbin $HOME/.local/bin $HOME/.cargo/bin $HOME/go/bin fish_add_path /opt/homebrew/opt/curl/bin /opt/homebrew/bin $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,16 +43,15 @@ 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/mise/installs/python/3.12.1/bin/python3.12" set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/rtx/installs/python/3.11.6/bin/python3"
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
mise activate fish | source rtx 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

@ -0,0 +1,6 @@
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

@ -0,0 +1,5 @@
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

@ -0,0 +1,4 @@
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

@ -0,0 +1,6 @@
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

@ -0,0 +1,5 @@
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,5 +1,4 @@
function chezmoiupdate function chezmoiupdate
set -x NODE_OPTIONS "--no-deprecation"
if not bw login --check if not bw login --check
set -x BW_SESSION (bw login --raw) set -x BW_SESSION (bw login --raw)
end end

View file

@ -0,0 +1,3 @@
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=eza function ll --wraps=ls --wraps=exa
eza --long --all --header --group --git $argv exa --long --all --header --group --git $argv
end end

View file

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

View file

@ -1,3 +0,0 @@
[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/mise activate bash)" eval "$(~/bin/rtx 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"