From b318983904e5338fc99f88208342ad1b471d9fac Mon Sep 17 00:00:00 2001 From: anttiharju Date: Sun, 9 Feb 2025 18:17:09 +0200 Subject: [PATCH] Simplify by removing helpers dir --- gclone | 3 +-- helpers/.gitignore | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 helpers/.gitignore diff --git a/gclone b/gclone index 4bc62ae..ea89741 100755 --- a/gclone +++ b/gclone @@ -23,8 +23,7 @@ fi # ex.: for "https://github.com/owner/repo" $REPO is "repo"). # Owner can be user or org. -SCRIPT_DIR=$(dirname "$(realpath "$0")") -CACHE_FILE="$SCRIPT_DIR/helpers/gclone.cache" +CACHE_FILE=~/.scripts/gclone.cache # Fetch user from git config and user's orgs from gh api through gh cli. if [ ! -f "$CACHE_FILE" ]; then mkdir -p "$(dirname "$CACHE_FILE")" diff --git a/helpers/.gitignore b/helpers/.gitignore deleted file mode 100644 index 2b83119..0000000 --- a/helpers/.gitignore +++ /dev/null @@ -1 +0,0 @@ -gclone.cache