Shell setup (ccuse)
The ccuse command is a shell function that wraps ccswitch env. Add this to your shell profile (.zshrc, .bashrc, etc.):
eval "$(ccswitch shellinit)"Then restart your shell or source the file:
source ~/.zshrcWhat it does
Section titled “What it does”ccswitch shellinit prints:
ccuse() { if [ "$1" = "--unset" ]; then eval "$(ccswitch env --unset)"; return; fi eval "$(ccswitch env "$1")"}ccuse work # activate 'work' profile in this shellccuse bedrock-prod # activate 'bedrock-prod' in this shellccuse --unset # clear all profile env varsEach shell is independent — you can have work in one terminal and personal in another.
This site uses GoatCounterfor page counts — no cookies, no personal data, no tracking across sites.