eendroroy / alien

An asynchronous zsh prompt
https://eendroroy.github.io/alien
MIT License
307 stars 45 forks source link

UTF issue ? #5

Closed RSickenberg closed 7 years ago

RSickenberg commented 7 years ago

screen shot 2017-06-20 at 14 29 51

eendroroy commented 7 years ago

See here: Issue 1

mqliutie commented 7 years ago

Hello, I have chosen a font but it still not show the icon

eendroroy commented 7 years ago

You can try installing one from here Meslo powerline fonts.

cevaris commented 1 year ago

Reviving this old thread.

Screenshot 2023-03-22 at 12 00 35 PM

I have installed alien prompt on Mac OS X 13.2.1 (Ventura), including the Meslo powerline fonts but my prompt is still failing to render icons.

Screenshot 2023-03-22 at 12 01 09 PM

I also tried the export ALIEN_USE_NERD_FONT=1 font config with no luck.

Do I have to somehow point alien to the Meslo fonts?

cevaris commented 1 year ago

Actually, looking at the source font symbols, they seem broken. even when viewing on web. I will just try overrriding the symbols via ENV variables.

Screenshot 2023-03-22 at 20 23 47

eendroroy commented 1 year ago

@cevaris

You can try font-hack-nerd-font

Screenshot 2023-03-27 at 11 39 46 AM
cevaris commented 1 year ago

@eendroroy thanks for the suggestion. I attempted installing that package with no luck..

I have font-hack-nerd-font installed.

Screenshot 2023-03-27 at 2 40 33 PM

I have ALIEN_USE_NERD_FONT enabled.

Screenshot 2023-03-27 at 2 40 46 PM

But i dont have any symbols rendered...

Here is my config

export ALIEN_USE_NERD_FONT=1
export ALIEN_THEME="soft"
export ALIEN_SECTION_TIME_FORMAT=%H:%M:%S
export ALIEN_SECTIONS_LEFT=(
  exit
  time
  user
  path
  vcs_branch:async
  # vcs_status:async
  # vcs_dirty:async
  newline
  # ssh
  # venv
  prompt
)
source ~/src/zsh-alien/alien.zsh
eendroroy commented 1 year ago

Can you please try selecting the font in iTerm profile settings?

Screenshot 2023-03-30 at 2 15 35 PM
cevaris commented 1 year ago

That fixed it!

Screenshot 2023-03-30 at 1 17 34 PM

Works in VS Code terminal too.

Screenshot 2023-03-30 at 1 17 10 PM Screenshot 2023-03-30 at 1 17 18 PM

Thanks!

eendroroy commented 1 year ago

Welcome :)