dolmen / angel-PS1

Your fancy shell prompt fed by your guardian angel
https://twitter.com/nglPS1
GNU Affero General Public License v3.0
61 stars 3 forks source link

Embed the angel in urxvt #6

Open dolmen opened 10 years ago

dolmen commented 10 years ago

urxvt is a terminal emulator for X that embeds Perl. It also offers the AnyEvent API (see urxvt::anyevent).

The angel part of angel-PS1 could be embedded in urxvt and used by processes running on the same host and user (because the most interesting plugins are user-dependent and/or $PWD-dependent). The angel-PS1 launcher would have to detect that backend, and use it instead of forking its own angel.

Note: so far, this is just an idea. I haven't started to write a proof of concept.