justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go
GNU General Public License v3.0
2.73k stars 268 forks source link

No customization works #302

Closed quarkquartet closed 3 years ago

quarkquartet commented 3 years ago

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 3 years ago

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

quarkquartet commented 3 years ago

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.