justjanne/powerline-go

No customization works

quarkquartet opened this issue · 2 comments

I'm installing this powerline-go on my macOS Big Sur. My shell is zsh. I have golang version 1.16.2.

After I put the code in the .zshrc file, my powerline takes effect. However when I want to customize it, nothing works. It behaves like in the following figure:
go-theme

go-module

How can I fix this?

dswij commented

Hi there, you should put your args for customization in your ~/.zshrc rather than calling it directly

Hi there, you should put your args for customization in your ~/.zshrc rather than calling it directly

Thank you. I changed the part
function powerline_precmd(){PS1="..."} Now it works.