Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/karetsu/aloy

zsh prompt based on Empress Noodle's Lena
https://github.com/karetsu/aloy

Last synced: 12 days ago
JSON representation

zsh prompt based on Empress Noodle's Lena

Lists

README

        

# Aloysius :heart: ZSH

This is a fork of [@elenapan's](https://github.com/elenapan/dotfiles) 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](https://github.com/subnixr/minimal) where hitting enter without any
further commands prints out some useful ls, git and cwd information.

| Screenshot | Magic enter |
|--------------------------------------|--------------------------------------|
| ![](https://i.imgur.com/r0rbN3n.png) | ![](https://i.imgur.com/mVw9auQ.png) |

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.