From 0b8d1f11bbe010794ebcf4b8b7ef8461e5f4e99f Mon Sep 17 00:00:00 2001 From: Jacob Bohanon Date: Thu, 11 Jun 2026 11:02:45 -0400 Subject: [PATCH] add claude profile helpers --- zsh/config.d/solo.zsh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/zsh/config.d/solo.zsh b/zsh/config.d/solo.zsh index 504c730..d5485f6 100644 --- a/zsh/config.d/solo.zsh +++ b/zsh/config.d/solo.zsh @@ -113,4 +113,21 @@ alias nvagwe='cdagwe && nvim_readme' alias cdkgw='cd $KGW_DIR/kgateway' alias nvkgw='cdkgw && nvim_readme' +alias claude-vertex="CLAUDE_CONFIG_DIR=$HOME/.claude-vertex claude" +alias claude-license="CLAUDE_CONFIG_DIR=$HOME/.claude-license claude" + +export CLAUDE_CONFIG_DIR="$HOME/.claude-license" + +function default-claude() { + if [[ -z "$1" ]] || ([[ "$1" != "vertex" ]] && [[ "$1" != "license" ]]); then + echo "invalid arg; must be 'vertex' or 'license'" + return + fi + + if [[ "$1" == "vertex" ]]; then + export CLAUDE_CONFIG_DIR="$HOME/.claude-vertex" + elif [[ "$1" == "license" ]]; then + export CLAUDE_CONFIG_DIR="$HOME/.claude-license" + fi +} fi