Loading custom sections¶
Though Spaceship has multiple sections for various use-cases, sometimes you may need to install a custom one: for a specific tool or something that you use personally.
How to install a section¶
It better to follow the installation instructions provided by the section author.
Most of the time, it's enough to just clone the repository locally (for example to
~/.config/spaceship) and source the section somewhere in Spaceship config or directly in
How to add a section to the prompt¶
Spaceship CLI provides a command to add a section to the prompt:
spaceship add <section>
For example, for
ember section you can use:
spaceship add ember
You need to add this line somewhere in