This is a fork of @elenapan's lena ZSH theme. Their prompt is static chevrons, I extended this to give me a little more information in it. It also includes the 'magic enter' from subnixr's minimal where hitting enter without any further commands prints out some useful ls, git and cwd information.
Screenshot | Magic enter |
---|---|
The prompts operate as follows:
- first: generic 'this is a prompt' chevron
- second: previous return value
- third: background processes
- fourth: git prompt info, does not appear in unversioned directories
The default colour for the second and third is #237
and they change colour to
alert you to a non-standard behaviour of some kind. The git prompt is green
if
you are up to date and magenta
otherwise. Branch name is also shown in
#237
.
This is still a pretty minimal theme and suits my needs. For any functional problems please raise an issue, otherwise this is personal preferences so feature requests would have to be very strongly argued.