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
- Host: GitHub
- URL: https://github.com/posener/ps1
- Owner: posener
- License: apache-2.0
- Created: 2018-09-09T12:23:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T18:47:58.000Z (over 6 years ago)
- Last Synced: 2024-10-05T12:43:29.500Z (over 1 year ago)
- Topics: bash, git, prompt, ps1, shell
- Language: Shell
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

