From 0dde8f0c7df26ece5b564cab768f7fa9c3d777d6 Mon Sep 17 00:00:00 2001 From: Jeremy McClure Date: Wed, 5 Aug 2026 04:29:07 -0400 Subject: [PATCH] Update 1 file: functions.zsh --- default/.config/zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/.config/zsh/functions.zsh b/default/.config/zsh/functions.zsh index fcf8656..6073762 100644 --- a/default/.config/zsh/functions.zsh +++ b/default/.config/zsh/functions.zsh @@ -22,8 +22,8 @@ install-omp(){ whence omp >/dev/null && unset -f install-omp dotstate-update() { - local REPO_URL="https://go.jeremy-web.space/zshrc-git" local TARGET_DIR="$HOME/.config/dotstate/storage" + local REPO_URL="$(git -C "$TARGET_DIR" remote get-url origin)" [[ "$(id -u)" -ne "$(stat -c '%u' "$TARGET_DIR" 2>/dev/null)" ]] && return 0 [[ ! -d "$TARGET_DIR/.git" ]] && return 0