From 231edbf3775da1d9a2650fd37ed140a66f902bdf Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Tue, 20 Oct 2026 17:57:27 -0400 Subject: [PATCH] etc(linux): Unset functions after use instead of before --- etc/profile.linux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/profile.linux b/etc/profile.linux index f3fb2d0..c1d5ed2 100644 --- a/etc/profile.linux +++ b/etc/profile.linux @@ -24,11 +24,11 @@ source_if "${HOME}/.nix-profile/etc/profile.d/nix.sh" path_if "$HOME/bin" path_if "$HOME/.local/bin" -unset -f source_if -unset -f path_if -unset -f has - if has gnome-keyring-daemon; then eval "$(gnome-keyring-daemon --start)" export SSH_AUTH_SOCK fi + +unset -f source_if +unset -f path_if +unset -f has