From 09326c14d4913f9f6413a5db0386d14147ae12d3 Mon Sep 17 00:00:00 2001 From: Jan Krautmacher Date: Thu, 25 Sep 2025 07:19:37 +0200 Subject: environment.d: Add path.conf This handles extension of the `PATH` environment variable with systemd's environment.d folder instead of using it in e.g. `~/.profile`. The advantage is that `~/.profile` is not sourced by everything. The purpose of environment.d is to pass the environment to everything the user uses. Notably also window managers which might not source `~/.profile` leading to not showing up programs in `~/.local/bin` in the program menu. See `man 5 environment.d` for details. --- environment.d/path.conf | 1 + 1 file changed, 1 insertion(+) create mode 100644 environment.d/path.conf (limited to 'environment.d') diff --git a/environment.d/path.conf b/environment.d/path.conf new file mode 100644 index 0000000..0d7c0fb --- /dev/null +++ b/environment.d/path.conf @@ -0,0 +1 @@ +PATH="${HOME}/.local/bin:${PATH}" -- cgit v1.2.3-70-g09d2