From 5faae67d11cc11aef87f16791742265a2fbce82c Mon Sep 17 00:00:00 2001 From: fatalerrors Date: Tue, 19 May 2026 16:57:27 +0200 Subject: [PATCH] better cleanup --- profile.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profile.sh b/profile.sh index 0c42bab..4a8e98a 100644 --- a/profile.sh +++ b/profile.sh @@ -161,8 +161,6 @@ if ((BASH_VERSINFO[0] < 4)) || [[ ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1 (return 0 2>/dev/null) && return 1 || exit 1 fi -unset -f _profile_is_sourced _profile_finish _profile_install_in_file _profile_install - # ------------------------------------------------------------------------------ # path* : private functions for PATH variable management pathremove() @@ -408,7 +406,9 @@ if [[ $INTERACTIVE ]]; then fi # Cleanup -unset pathremove pathprepend pathappend +unset -f _profile_is_sourced _profile_finish _profile_install_in_file _profile_install +unset -f parse_conf load_alias load_conf +unset -f pathremove pathprepend pathappend #return 0