Skip to content

configuration

2CHEVSKII edited this page Jul 10, 2026 · 1 revision

Configuration

gly configuration is stored only in memory for the current PowerShell session.

Get-GlyConfiguration

Default MVP configuration:

@{
    Enabled = $true
    Theme = 'DefaultDark'
    GlyphSet = 'NerdFonts'
    ShowGlyphs = $true
    ShowColors = $true
    SizeFormat = 'Raw'
    DateFormat = 'Default'
    StyleRenderer = 'Auto'
    RespectNoColor = $true
    ResetAfterName = $true
}

Common Changes

Disable colors:

Set-GlyConfiguration -ShowColors $false

Disable glyphs:

Set-GlyConfiguration -ShowGlyphs $false

Use binary size formatting in renderer commands:

Set-GlyConfiguration -SizeFormat Binary

Use ISO-like dates in renderer commands:

Set-GlyConfiguration -DateFormat Iso

Style Renderer

StyleRenderer controls how color sequences are produced:

  • Auto
  • PSStyle
  • Ansi
  • PlainText

Set it through configuration:

Set-GlyConfiguration -StyleRenderer PlainText

Or use the global preference variable:

$GlyStyleRenderer = 'PlainText'

$GlyStyleRenderer has priority over the module configuration. Remove it to return to configuration-based behavior:

Remove-Variable GlyStyleRenderer -Scope Global

NO_COLOR

If RespectNoColor is enabled and the NO_COLOR environment variable exists, gly uses plain text rendering.

$env:NO_COLOR = '1'

Disable this behavior:

Set-GlyConfiguration -RespectNoColor $false

Clone this wiki locally