Skip to content

Files

Latest commit

 

History

History
56 lines (36 loc) · 2.49 KB

Troubleshooting.md

File metadata and controls

56 lines (36 loc) · 2.49 KB

Troubleshooting

This page aimed to help you fix the common problems encountered while using Spaceship prompt.

What's the weird symbol for git branch?

You need to have a powerline patched font inorder to properly display git branch symbol.

What's the weird characters infront of sections?

This is not an issue with Spaceship prompt. Spaceship uses Unicode symbols to represent SPACESHIP_*_SYMBOL in sections. To solve this problem:

  • Verify your terminal emulator support Unicode characters with this command:
    curl http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt
    # or
    wget -O - http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt
  • Configure your terminal emulator to use UTF-8 as character encoding.

Some of sections icons put on one another?

This issue is related to how your terminal emulator renders Unicode 9 characters. To fix this issue:

  • Make sure terminal uses Unicode Version 9 Widths.
  • Let your terminal render ambiguous-width characters as double-width.

In iTerm follow these instructions:

  • Go iTerm → Preferences… (⌘,) → Profiles → Text
  • Check Unicode Version 9 Widths.
  • Check Threat ambiguous-width characters as double-width.
  • Reload terminal's tab.

Why my prompt doesn't work like on preview?

preview

Preview shows spaceship prompt setup with:

See screenshots wiki for more color schemes examples.

Does not help?

If any of above does not help, please, file an issue, describe your problem and we will gladly help you.