dotfiles/dot_config/fish/private_config.fish.tmpl

53 lines
1.8 KiB
Cheetah
Raw Normal View History

2024-01-20 08:18:44 +01:00
fish_add_path /opt/homebrew/opt/curl/bin /opt/homebrew/bin /opt/homebrew/sbin $HOME/.local/bin $HOME/.cargo/bin $HOME/go/bin
2024-02-18 14:35:43 +01:00
{{- if not (get . "sudo") }}
fish_add_path $HOME/.local/homebrew/bin
2024-02-18 15:08:02 +01:00
command -v brew > /dev/null; and eval "$(brew shellenv)"
2024-02-18 14:35:43 +01:00
{{- end }}
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 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 GITLABBER_FOLDER_NAMING path
set -gx GITLABBER_CLONE_METHOD ssh
set -gx GITLABBER_GIT_CONCURRENCY 10
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
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'"
2024-01-20 09:07:06 +01:00
set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/mise/installs/python/3.12.1/bin/python3.12"
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-01-20 09:07:06 +01:00
mise activate fish | source
2024-02-18 14:39:42 +01:00
test -e {$HOME}/.config/fish/work.fish; and source {$HOME}/.config/fish/work.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 '$'