Starship Prompt Builder

Pijul channel module

Shows the active channel of the repo in your current directory

When it appears

This module is disabled by default. Enable it, then it renders when Starship detects the matching context.

Preview

Rendered from the starting configuration in a representative simulated environment.

starship — preview
on  1 

Starting configuration

[pijul_channel]
disabled = false
format = "on [$symbol$channel]($style) "
symbol = " "
style = "bold purple"
Open in the builder

The configuration is compressed into the URL fragment and stays in your browser.

Key options

symbolstring
The symbol used before the pijul channel name of the repo in your current directory.
stylestring
The style for the module.
formatstring
The format for the module.
truncation_lengthnumber
Truncates the pijul channel name to N graphemes
truncation_symbolstring
The symbol used to indicate a branch name was truncated.
disabledboolean
Disables the pijul module.

Format variables

$channel
The active channel of the check-out
$symbol
Mirrors the value of option symbol

Common adjustments

  • Edit format to reorder its variables or make surrounding text conditional.
  • Adjust its style options to fit the palette used by the rest of the prompt.