jeremyFreeAgent / oh-my-zsh-powerline-theme

oh-my-zsh Powerline style Theme
1.2k stars 256 forks source link

Hide blank section of git when not in a git directory #16

Open jeremyFreeAgent opened 11 years ago

protist commented 8 years ago

This would be great. Probably 99% of my time I am not in a git directory, and there are two extraneous characters in the prompt. (There are also four unnecessary characters at the beginning of the prompt with username and hostname hidden, if you don't care about the green/red colours, and 3–4 extra on the right prompt with no error and POWERLINE_RIGHT_A="exit-status-on-fail".)

jeremyFreeAgent commented 8 years ago

Hi @protist thanks for your feedback. I'm currently doing some improvements, I will look at that.

protist commented 8 years ago

Thank you. FWIW out of all the powerline-inspired zsh prompts, I already do find yours to be the most compact, which I appreciate. Thanks for that.

protist commented 8 years ago

While you are looking at improvements, there is one other space-related measure that gets on my OCD. The right prompt is one space short of the right margin! I tested in both terminator and konsole.

screenshot

protist commented 8 years ago

Sorry, I just saw issue #3.

jeremyFreeAgent commented 8 years ago

@protist Yes this is a well known issue. It's not due to the theme but the terminal. I can't find an correct fix.

jeremyFreeAgent commented 8 years ago

@protist

Thank you. FWIW out of all the powerline-inspired zsh prompts, I already do find yours to be the most compact, which I appreciate. Thanks for that.

Thanks, I wanted to be simple without email of weather bullshits. Event if there are a lot of options now it's only about custom design not feature.