dotfiles/dot_config/fish/private_config.fish.tmpl

56 lines
2.1 KiB
Cheetah
Raw Normal View History

2023-08-11 19:46:47 +02:00
fish_add_path /opt/homebrew/opt/curl/bin /opt/homebrew/bin $HOME/.local/bin $HOME/.cargo/bin $HOME/go/bin
2023-02-04 16:38:07 +01:00
{{- if eq .chezmoi.os "linux" }}
2023-02-02 11:41:23 +01:00
fish_add_path /home/linuxbrew/.linuxbrew/bin $HOME/.local/share/JetBrains/Toolbox/scripts
2023-02-01 21:28:16 +01:00
eval "$(brew shellenv)"
2023-02-04 16:38:07 +01:00
{{- end }}
2023-02-27 15:29:16 +01:00
set -gx RUSTC_WRAPPER sccache
2021-08-10 10:50:48 +02:00
set -gx VIRTUAL_ENV_DISABLE_PROMPT 1
2021-08-10 10:50:48 +02:00
set -gx HOMEBREW_GITHUB_API_TOKEN {{ (bitwardenFields "item" "github.com").fish_api_token.value | quote }}
set -gx HOMEBREW_BINTRAY_USER "crocmagnon"
set -gx HOMEBREW_BINTRAY_KEY {{ (bitwardenFields "item" "Bintray").fish_key.value | quote }}
2021-08-10 10:50:48 +02:00
set -gx LANG en_US.UTF-8
2021-08-10 10:50:48 +02:00
set -gx BAT_THEME "Solarized (dark)"
2021-08-10 10:50:48 +02:00
set -gx SCW_SECRET_TOKEN {{ (bitwardenFields "item" "console.scaleway.com").fish_secret_token.value | quote }}
set -gx SCW_ACCESS_KEY {{ (bitwardenFields "item" "console.scaleway.com").fish_access_key.value | quote }}
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
2021-12-05 10:07:50 +01:00
set -gx PYPI_USERNAME __token__
set -gx PYPI_TOKEN {{ (bitwardenFields "item" "PyPi").token.value | quote }}
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
2022-10-03 17:01:28 +02:00
set -gx ANSIBLE_NOCOWS 1
2021-08-10 10:50:48 +02:00
2021-08-22 10:05:45 +02:00
set -gx GITEA_TOKEN {{ (bitwardenFields "item" "git.augendre.info").fish_config_token.value | quote }}
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 }}
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'"
set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/rtx/installs/python/3.11.6/bin/python3"
set -gx PIP_REQUIRE_VIRTUALENV true
2021-08-10 10:50:48 +02:00
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
2023-08-19 10:55:57 +02:00
rtx activate fish | source
2023-04-04 15:58:22 +02:00
test -e {$HOME}/.config/fish/ovh.fish; and source {$HOME}/.config/fish/ovh.fish