Explicitly set PATH in environment.d

plasmalogin doesn't do this anymore, as of fa3916a4aa, and it's noted that it should be done in environment.d instead. This fixes expected behaviour where binaries in /usr/local/bin should take precedence over /usr/bin.
This commit is contained in:
Thomas Duckworth
2026-01-24 16:45:34 +11:00
parent 1ba373ca49
commit 146bb92c08
2 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2025 Harald Sitter <sitter@kde.org>
# Most notably kde-builder wants .local/bin in the PATH and will fail if it is not
PATH=$HOME/.local/bin:$PATH

View File

@@ -0,0 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2025 Harald Sitter <sitter@kde.org>
# SPDX-FileCopyrightText: 2026 Thomas Duckworth <tduck@filotimoproject.org>
# Explicitly set PATH so we always have /usr/local binary paths in front, which we need
# to mask binaries in /usr/bin.
# Also, kde-builder wants .local/bin in the PATH and will fail if it is not.
PATH=$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin