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

https://github.com/posener/ps1

A lightweight script that sets a nice shell prompt
https://github.com/posener/ps1

bash git prompt ps1 shell

Last synced: about 2 months ago
JSON representation

A lightweight script that sets a nice shell prompt

Awesome Lists containing this project

README

          

# ps1

A lightweight script that sets a nice shell prompt

## Install

```bash
curl -sSL https://raw.githubusercontent.com/posener/ps1/master/install-web.sh | bash
vim ~/.ps1.sh # Edit default user, host and location.
```

## Features

- [x] Hide default user, host and location.
- [x] Git branch and clean state.
- [x] Exit code as color of "$".

## Screenshots

![master](https://github.com/posener/ps1/raw/master/images/master.png "master")

![branch-diff](https://github.com/posener/ps1/raw/master/images/branch-diff.png "branch-diff")