From c896953b03197d5cafac33b0261e64342cfdd208 Mon Sep 17 00:00:00 2001
From: EuAndreh <eu@euandre.org>
Date: Tue, 25 Feb 2025 09:26:09 -0300
Subject: etc/sh/rc: Add (missing?) declaration of $HOME_ENVIRONMENT

---
 etc/sh/rc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'etc/sh/rc')

diff --git a/etc/sh/rc b/etc/sh/rc
index 6a4ee13..bb8a2d0 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -536,6 +536,8 @@ case $- in
 		;;
 esac
 
+HOME_ENVIRONMENT="$HOME"/.guix-home
+
 # IIRC, the Guix profile should do this
 for f in "$HOME_ENVIRONMENT"/profile/etc/bash_completion.d/*; do
 	. "$f"
@@ -546,4 +548,6 @@ F="$HOME_ENVIRONMENT"/profile/share/autojump/autojump.bash
 if [ -r "$F" ]; then
 	. "$F"
 fi
+
+unset HOME_ENVIRONMENT
 export TD_USE_BUILTIN_HOOKS='git'
-- 
cgit v1.2.3