mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 22:48:05 +01:00
Compare commits
No commits in common. "beb4f22aaa8b0dddbb55204e47df6e633c4e0710" and "2ccd7a1f91f9016adf21e2fc5a124e8cc1467e63" have entirely different histories.
beb4f22aaa
...
2ccd7a1f91
14 changed files with 49 additions and 19 deletions
|
@ -1 +1,2 @@
|
|||
use rtx
|
||||
|
||||
|
|
5
dot_config/direnv/lib/use_rtx.sh
Normal file
5
dot_config/direnv/lib/use_rtx.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
### 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 /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" }}
|
||||
fish_add_path /home/linuxbrew/.linuxbrew/bin $HOME/.local/share/JetBrains/Toolbox/scripts
|
||||
eval "$(brew shellenv)"
|
||||
|
@ -43,16 +43,15 @@ 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/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 MISE_PYTHON_VENV_AUTO_CREATE true
|
||||
|
||||
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
|
||||
|
||||
set -gx EDITOR vim
|
||||
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
|
||||
|
||||
set tide_character_icon '$'
|
||||
|
|
|
@ -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
|
|
@ -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
|
4
dot_config/fish/private_functions/audio-onboard.fish
Normal file
4
dot_config/fish/private_functions/audio-onboard.fish
Normal 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
|
6
dot_config/fish/private_functions/audio-plt-conf.fish
Normal file
6
dot_config/fish/private_functions/audio-plt-conf.fish
Normal 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
|
5
dot_config/fish/private_functions/audio-plt-no-mic.fish
Normal file
5
dot_config/fish/private_functions/audio-plt-no-mic.fish
Normal 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
|
|
@ -1,5 +1,4 @@
|
|||
function chezmoiupdate
|
||||
set -x NODE_OPTIONS "--no-deprecation"
|
||||
if not bw login --check
|
||||
set -x BW_SESSION (bw login --raw)
|
||||
end
|
||||
|
|
3
dot_config/fish/private_functions/daily.fish
Normal file
3
dot_config/fish/private_functions/daily.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
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=eza
|
||||
eza --long --all --header --group --git $argv
|
||||
function ll --wraps=ls --wraps=exa
|
||||
exa --long --all --header --group --git $argv
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
function pyenv
|
||||
echo "Use mise!"
|
||||
echo "Use rtx!"
|
||||
end
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[settings]
|
||||
experimental = true
|
||||
legacy_version_file = false
|
|
@ -1,7 +1,7 @@
|
|||
export PATH=$PATH:~/bin
|
||||
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.
|
||||
export PATH="$PATH:$HOME/.rvm/bin:$HOME/Projects/golang/bin"
|
||||
|
|
Loading…
Reference in a new issue