spaceship-prompt/spaceship-prompt

Feature Request: Add a prompt option to show/hide all symbols

Open

#684 opened on Jun 11, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Shell (969 forks)batch import
good first issueproposal

Repository metrics

Stars
 (20,491 stars)
PR merge metrics
 (Avg merge 2d 12h) (3 merged PRs in 30d)

Description

Is your feature request related to a problem?

No.

Is your feature request related to new section on prompt?

No.

Describe the solution you'd like

I would like an easy way to disable all symbols in the prompt. Currently I have to go through a long list like so:

SPACESHIP_GIT_SYMBOL=""
SPACESHIP_NODE_SYMBOL=""
SPACESHIP_RUBY_SYMBOL=""
...

I would like to do this in a single command like:

SPACESHIP_PROMPT_SYMBOLS_SHOW=true|false

Describe alternatives you've considered

The alternative, as described above, is to list all *_SYMBOL options and set them to an empty string "".

Documentation, adoption

Variable Default Meaning
SPACESHIP_PROMPT_SYMBOLS_SHOW true Show all symbols in the prompt

Contributor guide