Tip for smallish prompt from your screenshot.
opened this issue · comments
Deleted user commented
I've seen on your swm screenshot that you have a small single line prompt, but no path.
It really looks nice! but no path. So I share this with you:
In the beginning of the prompt, I have this:
statusline="\[\e[s\e[1;H\] \w \[\e[90m\]$(git branch 2>/dev/null)
\
\[\e[u\e[1A\]"
The lot of spaces are to erase the content of the streen that may come. There should be a better way...
If it does not looks good to you, at least let me tell you that I adopted your prompt (will make it 100% like your soon)!