justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fedora

sl8vz opened this issue · comments

Describe the bug
Tried to install on fedora 35 using either go install or from fedora repo but I can't get the powerline prompt.
Installed powerline fonts and added startup in .bashrc
I get this output if I launch powerline-go manually:
\[\e[38;5;250m\]\[\e[48;5;240m\] seb \[\e[48;5;238m\]\[\e[38;5;240m\]\[\e[0m\]\[\e[38;5;250m\]\[\e[48;5;238m\] fedora [seb[s[[[[se[se[[[s[seb[se[seb@fed[s[seb[seb@f[s[[s[

Environment (please complete the following information):

  • OS: linux
  • Architecture: amd
  • Shell: bash ($TERM =xterm-256color)

Additional context
Add any other context about the problem here.

Ok, on fedora it seems that PROMPT_COMMAND variable needs to be exported in ~/.bashrc config (there is no export in README.md bash)
That was not the case when I installed on ubuntu previously. I'll try to take some more time to get the reason.

Not a bug. More linux env setup.