From 260e3a4749285ac96fc8a70872b54a2ee3490330 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 10 Oct 2024 16:09:48 -0400 Subject: [PATCH] Don't recurse forever :) --- fake_home/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fake_home/.zshrc b/fake_home/.zshrc index 2abd443..744ea78 100644 --- a/fake_home/.zshrc +++ b/fake_home/.zshrc @@ -337,9 +337,9 @@ login_sync_date="$(date '+%D')" logged_date="$(cat "$LOGIN_SYNC_DATE")" if [[ "$login_sync_date" == "$logged_date" ]]; then - GETDOT_ARGS="--skip-dconf" source "$HOME/.zshrc" + GETDOT_ARGS="--skip-dconf" else - RUN_GETDOT="true" GETDOT_ARGS="--skip-dconf" source "$HOME/.zshrc" + RUN_GETDOT="true" GETDOT_ARGS="--skip-dconf" fi if [[ "$RUN_GETDOT" == "true" ]] || (test -d "$DOT_DIR" && [[ "$current_date" != "$(cat "$last_get_file")" ]] &> /dev/null); then echo "$current_date" > "$last_get_file"