Skip to content

Environment Variables

Environment variables that affect ctxloom behavior.

Configuration

VariableDescriptionDefault
CTXLOOM_VERBOSEEnable verbose logging0 (disabled)
expressiveCode.terminalWindowFallbackTitle
CTXLOOM_VERBOSE=1 ctxloom run -p developer "help"

Editor

VariableDescription
VISUALPreferred editor for editing content
EDITORFallback editor if VISUAL is not set

ctxloom checks VISUAL first, then EDITOR. Used by commands like:

expressiveCode.terminalWindowFallbackTitle
ctxloom bundle fragment edit my-bundle coding-standards
ctxloom bundle prompt edit my-bundle review

Template Variables

These are available within fragment templates (not shell environment):

VariableDescription
CTXLOOM_ROOTProject root directory (parent of .ctxloom)
CTXLOOM_DIRFull path to .ctxloom directory

See Templating for usage.