fix: Hauptkonto-Profil ohne CLAUDE_CONFIG_DIR ansprechen (Config-Pfad-Falle)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CPrAGBxBT6GfPXzeWQ4AXb
This commit is contained in:
+3
-1
@@ -17,7 +17,9 @@ get_account() { cat "$ACCOUNT_FILE" 2>/dev/null || echo pyramid; }
|
||||
|
||||
apply_account() {
|
||||
if [ "$(get_account)" = "haupt" ]; then
|
||||
export CLAUDE_CONFIG_DIR="$HOME/.claude"
|
||||
# Hauptkonto = Standard-Profil -> Variable NICHT setzen
|
||||
# (sonst sucht Claude die Config unter ~/.claude/.claude.json statt ~/.claude.json)
|
||||
unset CLAUDE_CONFIG_DIR
|
||||
else
|
||||
export CLAUDE_CONFIG_DIR="$HOME/.claude-pyramid"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user