Don't recurse forever :)
This commit is contained in:
parent
828a93e54c
commit
260e3a4749
|
@ -337,9 +337,9 @@ login_sync_date="$(date '+%D')"
|
||||||
logged_date="$(cat "$LOGIN_SYNC_DATE")"
|
logged_date="$(cat "$LOGIN_SYNC_DATE")"
|
||||||
|
|
||||||
if [[ "$login_sync_date" == "$logged_date" ]]; then
|
if [[ "$login_sync_date" == "$logged_date" ]]; then
|
||||||
GETDOT_ARGS="--skip-dconf" source "$HOME/.zshrc"
|
GETDOT_ARGS="--skip-dconf"
|
||||||
else
|
else
|
||||||
RUN_GETDOT="true" GETDOT_ARGS="--skip-dconf" source "$HOME/.zshrc"
|
RUN_GETDOT="true" GETDOT_ARGS="--skip-dconf"
|
||||||
fi
|
fi
|
||||||
if [[ "$RUN_GETDOT" == "true" ]] || (test -d "$DOT_DIR" && [[ "$current_date" != "$(cat "$last_get_file")" ]] &> /dev/null); then
|
if [[ "$RUN_GETDOT" == "true" ]] || (test -d "$DOT_DIR" && [[ "$current_date" != "$(cat "$last_get_file")" ]] &> /dev/null); then
|
||||||
echo "$current_date" > "$last_get_file"
|
echo "$current_date" > "$last_get_file"
|
||||||
|
|
Loading…
Reference in New Issue