Compare commits

...

2 commits

Author SHA1 Message Date
ba4a2d2119
fish: conf.d/setup: Set environment variable for Poetry
If and when we get to using Poetry, make sure it creates
and uses the virtual environment inside the project root.

https://python-poetry.org/docs/configuration/#virtualenvsin-project
2024-12-05 22:10:53 +05:30
591c738973
Revert "fish: setup: Set a needed environment variable for work"
This reverts commit 28eccacade.
2024-12-05 22:10:53 +05:30

View file

@ -43,9 +43,6 @@ function __fish_setup_on_tty_login --description "Set up environment on tty logi
# environment.d.
set -gx WLR_NO_HARDWARE_CURSORS 1
# Needed for work
set -gx ENV qa-tunnel
# Password Store
set -gx PASSWORD_STORE_ENABLE_EXTENSIONS true
set -gx PASSWORD_STORE_GENERATED_LENGTH 16
@ -54,6 +51,9 @@ function __fish_setup_on_tty_login --description "Set up environment on tty logi
# Ripgrep requires this environment variable for knowing the config file path
set -gx RIPGREP_CONFIG_PATH {$HOME}/.config/ripgrep/ripgreprc
# Make Poetry create virtualenv inside the project root
set -gx POETRY_VIRTUALENVS_IN_PROJECT true
# Required for all environment variables to be set correctly, especially
# in tmux session service.
dbus-update-activation-environment --systemd --all