跳转至

Crystal crystal

This section is rendered asynchronously by default

Info

Crystal is a general-purpose, object-oriented programming language.

The crystal section displays the Crystal version.

This section is displayed only when the current directory:

  • Upsearch finds shard.yaml file
  • Current directory contains any file with .cr extension

Options

Variable Default Meaning
SPACESHIP_CRYSTAL_SHOW true Show section
SPACESHIP_CRYSTAL_ASYNC true Render section asynchronously
SPACESHIP_CRYSTAL_PREFIX $SPACESHIP_PROMPT_DEFAULT_PREFIX Section's prefix
SPACESHIP_CRYSTAL_SUFFIX $SPACESHIP_PROMPT_DEFAULT_SUFFIX Section's suffix
SPACESHIP_CRYSTAL_SYMBOL 🔮 Symbol displayed before the section
SPACESHIP_CRYSTAL_COLOR 069 Section's color