From be42676f647eea590cc26274b341531df56f1f9d Mon Sep 17 00:00:00 2001 From: sij <sij@sij.law> Date: Fri, 17 Jan 2025 20:42:52 +0000 Subject: [PATCH] Update pull --- pull | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pull b/pull index 20303b1..0febf58 100755 --- a/pull +++ b/pull @@ -17,6 +17,9 @@ while IFS= read -r repo_path || [[ -n "$repo_path" ]]; do # Skip empty lines and lines starting with # [[ -z "$repo_path" || "$repo_path" == \#* ]] && continue + # Expand tilde to home directory + repo_path="${repo_path/#\~/$HOME}" + echo "Processing repository: $repo_path" # Navigate to the project directory @@ -43,4 +46,3 @@ while IFS= read -r repo_path || [[ -n "$repo_path" ]]; do done < "$REPOS_FILE" echo "All repositories processed." -