mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 22:48:05 +01:00
Compare commits
6 commits
2ccd7a1f91
...
beb4f22aaa
Author | SHA1 | Date | |
---|---|---|---|
beb4f22aaa | |||
c0b22dea4c | |||
4791e207d4 | |||
1c1d519397 | |||
ae610ce8cb | |||
1f5b74ed53 |
14 changed files with 19 additions and 49 deletions
|
@ -1,2 +1 @@
|
||||||
use rtx
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
### Do not edit. This was autogenerated by 'rtx direnv' ###
|
|
||||||
use_rtx() {
|
|
||||||
direnv_load rtx direnv exec
|
|
||||||
}
|
|
||||||
|
|
|
@ -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 '$'
|
||||||
|
|
|
@ -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
|
|
|
@ -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
|
|
|
@ -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
|
|
|
@ -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
|
|
|
@ -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
|
|
|
@ -1,4 +1,5 @@
|
||||||
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
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
function daily
|
|
||||||
google-chrome https://bbb.gatewatcher.com/b/mat-thm-cn4 > /dev/null 2>&1 & && disown
|
|
||||||
end
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
function pyenv
|
function pyenv
|
||||||
echo "Use rtx!"
|
echo "Use mise!"
|
||||||
end
|
end
|
||||||
|
|
3
dot_config/mise/config.toml
Normal file
3
dot_config/mise/config.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[settings]
|
||||||
|
experimental = true
|
||||||
|
legacy_version_file = false
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue