puntonim / promptastic

A fantastic prompt for Bash

Home Page:http://painl.es/promptastic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why my prompt is so ugly?

tolerious opened this issue · comments

commented

My prompt is like this:Alt text

and yours:

Alt text

When I look at your screenshot, my guess is that you are not using promptastic, but you are using either powerline-shell or powerline without patched fonts. If you want to use promptastic you must first uninstall the one you are using and then install promptastic (with patched fonts, in case).

commented

thank you very much

For posterity: my prompt was missing the glyphs (as in OP's screenshot) and I fixed it via installing the powerline fonts:

# clone
git clone https://github.com/powerline/fonts.git
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts

Since I am using iTerm 2, I had to choose one of the Powerline fonts in iTerm's Preferences > Profiles > Text

Source: https://github.com/powerline/fonts (Promptastic's installation procedure got me to that screen, but it might be worth calling this out more strongly... though I'm not sure what in my setup made the glyphs not show up -- though I'm quite sure I haven't installed powerline-shell or powerline in the past)