Closed ghost closed 10 years ago
Sure. What you want is left_sections/right_sectios (check the readme or the vim help file). Just putting an empty array in right_sections should be enough. I'm on mobile right now so giving you a working example would be a great pain (sorry). If you're still having trouble with this, I'll give you a working example when I get my hands on a laptop
Thanks, I was able to figure it out \what I did wrong. I forgot to redefine the right_section as a empty array.
In case anyone stumbles upon this at a later date here is an example.
let g:promptline_preset = {
\'a' : [ promptline#slices#user() ],
\'b' : [ promptline#slices#host(), promptline#slices#cwd() ],
\'c' : [ promptline#slices#vcs_branch() ],
\'warn' : [ promptline#slices#last_exit_code() ],
\'options': {
\'left_sections' : ['a', 'b', 'c', 'warn'],
\'right_sections' : []}}
Is there a way to get zsh to use the left side prompt only for all available slices?
I tried to redefine the left_sections to include, x, y, z, warn, but I get errors when I try to create the prompt like this.