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
bash fish-shell ksh mksh powerline prompt prompt-toolkit shell-prompt unix zsh

angel-PS1 logo angel-PS1 - The Angel's Prompt

angel-PS1 is your guardian angel for the Unix world.

The implementation is a daemon, a background process, that will service your shell every time it needs to display the prompt.

This is a daemon, but not a nasty demon. So it is an angel. Like a guardian angel, attached to the shell and who gives him precious information about the world around that you can't see. You'll not see him, but he is there. Always around, but always discreet.

There is absolutely no relation between this project and AngelCode / AngelScript.

Build status

release: Build status

devel: Build status

Basic usage

Download and install

wget https://github.com/dolmen/angel-PS1/raw/release/angel-PS1
chmod u+x angel-PS1

That's it! Easy, isn't it?

Run

Try this in your Unix/Linux shell to get a fancy prompt with the default settings:

bash/zsh/mksh/dash/ksh93/tcsh:

eval `./angel-PS1`

fish:

eval (./angel-PS1)

Note: this project is still very young. Use at your own risks in ~/.bashrc/.zshrc/.tcshrc...

You can also try other example themes from the repository:

git clone https://github.com/dolmen/angel-PS1.git
cd angel-PS1
eval $(./angel-PS1 -c examples/Powerline-basic.PS1)

Documentation

perldoc ./angel-PS1

Sorry, the documentation is quite light at the moment.

Supported shells

First class

Experimental

Features

Angel's Prompt is not just another new fancy prompt for your Unix shell. This is also:

News

Follow @nglPS1 on Twitter.

Support

Copyright & license

Copyright 2013-2018 Olivier Mengué.

angel-PS1 itself is distributed under the GNU Affero General Public License version 3 or later. See COPYING for details.

angel-PS1 plugins must be distributed under the Artistic License 2.0. This basically allows to reuse the code of plugins either to improve the angel-PS1 core or for any other usage in Perl programs, not just angel-PS1.