From dee8004465c323a507ce0b513e56d7234ee9675d Mon Sep 17 00:00:00 2001 From: shuki Date: Wed, 4 Mar 2026 04:31:14 +0200 Subject: [PATCH] Fix gniza remote list failing when main config doesn't exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit remote list only reads remotes.d/ — no need to load gniza.conf. Co-Authored-By: Claude Opus 4.6 --- bin/gniza | 3 --- 1 file changed, 3 deletions(-) diff --git a/bin/gniza b/bin/gniza index d15882a..31cc42e 100755 --- a/bin/gniza +++ b/bin/gniza @@ -859,9 +859,6 @@ cmd_remote() { case "$subcommand" in list|ls|"") - local config_file; config_file=$(get_opt config "$@" 2>/dev/null) || config_file="$DEFAULT_CONFIG_FILE" - load_config "$config_file" - if ! has_remotes; then echo "No remotes configured." echo "Run 'gniza init remote ' to add one."