2024-02-19 23:43:26 +01:00
|
|
|
{{- if (get . "brew") }}
|
|
|
|
{{- if eq .chezmoi.os "darwin" }}
|
|
|
|
{{- if (get . "sudo") }}
|
|
|
|
eval (/opt/homebrew/bin/brew shellenv)
|
|
|
|
{{- else }}
|
|
|
|
eval ($HOME/.local/homebrew/bin/brew shellenv)
|
2024-02-18 14:35:43 +01:00
|
|
|
{{- end }}
|
2023-02-04 16:38:07 +01:00
|
|
|
{{- end }}
|
2024-02-19 23:43:26 +01:00
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
fish_add_path $HOME/.local/bin $HOME/.cargo/bin $HOME/go/bin
|
2023-02-28 10:34:02 +01:00
|
|
|
|
2023-02-27 15:29:16 +01:00
|
|
|
set -gx RUSTC_WRAPPER sccache
|
2023-02-28 10:34:02 +01:00
|
|
|
|
2021-08-10 10:50:48 +02:00
|
|
|
set -gx VIRTUAL_ENV_DISABLE_PROMPT 1
|
2023-02-28 10:34:02 +01:00
|
|
|
|
2024-12-08 18:36:49 +01:00
|
|
|
set -gx HOMEBREW_NO_ENV_HINTS 1
|
2023-02-28 10:34:02 +01:00
|
|
|
|
2021-08-10 10:50:48 +02:00
|
|
|
set -gx LANG en_US.UTF-8
|
2023-02-28 10:34:02 +01:00
|
|
|
|
2021-08-10 10:50:48 +02:00
|
|
|
set -gx GITLABBER_FOLDER_NAMING path
|
|
|
|
set -gx GITLABBER_CLONE_METHOD ssh
|
|
|
|
set -gx GITLABBER_GIT_CONCURRENCY 10
|
2023-02-28 10:34:02 +01:00
|
|
|
|
2022-06-17 12:21:21 +02:00
|
|
|
set -gx POETRY_PYPI_TOKEN_PYPI $PYPI_TOKEN
|
2022-06-17 12:25:21 +02:00
|
|
|
set -gx POETRY_HTTP_BASIC_PYPI_USERNAME $PYPI_USERNAME
|
|
|
|
set -gx POETRY_HTTP_BASIC_PYPI_PASSWORD $PYPI_TOKEN
|
2023-02-28 10:34:02 +01:00
|
|
|
|
2022-10-03 17:01:28 +02:00
|
|
|
set -gx ANSIBLE_NOCOWS 1
|
2021-08-10 10:50:48 +02:00
|
|
|
|
2024-11-30 10:21:10 +01:00
|
|
|
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
|
|
|
|
2023-02-04 16:38:07 +01:00
|
|
|
{{- if eq .chezmoi.os "darwin" }}
|
2024-11-20 03:32:08 +01:00
|
|
|
set -g fish_greeting "Wsh, bien ?"
|
2023-02-04 16:38:07 +01:00
|
|
|
{{- else }}
|
2024-11-20 03:32:08 +01:00
|
|
|
set -g fish_greeting "Wsh, bien ?"
|
2023-02-04 16:38:07 +01:00
|
|
|
{{- end }}
|
2023-02-28 10:34:02 +01:00
|
|
|
|
2021-08-10 10:50:48 +02:00
|
|
|
# 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'"
|
2024-12-08 18:37:00 +01:00
|
|
|
set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/mise/installs/python/latest/bin/python"
|
2023-02-28 23:58:23 +01:00
|
|
|
set -gx PIP_REQUIRE_VIRTUALENV true
|
2024-01-20 09:07:40 +01:00
|
|
|
set -gx MISE_PYTHON_VENV_AUTO_CREATE true
|
2021-08-10 10:50:48 +02:00
|
|
|
|
2024-11-20 03:20:36 +01:00
|
|
|
set -gx ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX YES
|
2021-08-10 10:50:48 +02:00
|
|
|
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
|
|
|
|
|
2024-02-17 21:01:21 +01:00
|
|
|
set -gx EDITOR nvim
|
2021-08-10 10:50:48 +02:00
|
|
|
set -gx DJANGOPROJECT_DATA_DIR $HOME/.djangoproject
|
|
|
|
|
2024-02-19 23:43:26 +01:00
|
|
|
type -q mise && mise activate fish | source
|
2024-11-19 17:16:20 +01:00
|
|
|
test -e {$HOME}/.config/fish/host.fish; and source {$HOME}/.config/fish/host.fish
|
2024-02-18 14:53:34 +01:00
|
|
|
test -e {$HOME}/.config/fish/secrets.fish; and source {$HOME}/.config/fish/secrets.fish
|
2023-11-20 10:08:15 +01:00
|
|
|
|
|
|
|
set tide_character_icon '$'
|