Add a new user-defined prompt segment that displays the current Salesforce CLI default target org. The segment reads target-org from .sf/config.json, walking up from the current directory to find the nearest Salesforce DX project root. The segment is added to all four main config templates (rainbow, classic, lean, lean-8colors) as a commented-out option in RIGHT_PROMPT_ELEMENTS, along with the segment function definition and customization parameters. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| p10k-classic.zsh | ||
| p10k-lean-8colors.zsh | ||
| p10k-lean.zsh | ||
| p10k-pure.zsh | ||
| p10k-rainbow.zsh | ||
| p10k-robbyrussell.zsh | ||