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
|
|
|
|
|
|
|
|
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 BAT_THEME "Solarized (dark)"
|
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
|
|
|
|
2023-02-04 16:38:07 +01:00
|
|
|
{{- if eq .chezmoi.os "darwin" }}
|
2022-02-23 21:15:05 +01:00
|
|
|
set -g fish_greeting "Yo ✌🏻Bien ?"
|
2023-02-04 16:38:07 +01:00
|
|
|
{{- else }}
|
2023-02-02 11:41:23 +01:00
|
|
|
set -g fish_greeting "Yo ✌ 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-05-21 17:53:22 +02:00
|
|
|
set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/mise/installs/python/3.12.3/bin/python3.12"
|
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
|
|
|
|
|
|
|
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 '$'
|