GithubHelp home page GithubHelp logo

robertodr / angel-ps1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dolmen/angel-ps1

0.0 3.0 0.0 502 KB

Your fancy shell prompt fed by your guardian angel

Home Page: https://twitter.com/nglPS1

License: GNU Affero General Public License v3.0

Perl 100.00%

angel-ps1's Introduction

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 and is constantly evolving. Use at your own risks.

You can also try other examples 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

  • bash
  • mksh
  • dash
  • ksh93
  • zsh
  • fish

Experimental

Features

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

  • A powerful, but still fast, prompt. Thanks an original architecture, you are not limited anymore by the speed of your shell and the cost of forking processes.
  • Not just my prompt, but your prompt. You can configure your own look using plugins.
  • A prompt written in Perl. Perl is the powerful companion to your sysadmin tasks, but also an expressive general programming language that has access the C Unix API. Perl is available on every Unix-like operating system, and usually installed among core packages.
  • A prompt building framework. The API will help you to easily build your own prompt using plugins, and to build plugins that you'll share with others. With a powerful engine that allows you to easily specify colors and to transparently escape shell special characters.
  • CPAN power. Thanks to Perl and its community, you have access to the thousands of Perl modules on the CPAN to efficiently and/or portably retrieve information that you will show in the prompt.
  • Write once, run anywhere. Write your prompt configuration once, and use it in any shell supported by angel-PS1. And angel-PS1 is a single file, easy to move from machine to machine and run with any Perl, from 5.8.3 to 5.18+. As your prompt definition is also written in Perl, it has the same portability.

News

Follow @nglPS1 on Twitter.

Support

Copyright & license

Copyright 2013-2016 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.

angel-ps1's People

Contributors

dolmen avatar hughsimpson avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.