Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wavesoftware/scmprompt
SCM Bash prompt with support for git & hg
https://github.com/wavesoftware/scmprompt
Last synced: about 13 hours ago
JSON representation
SCM Bash prompt with support for git & hg
- Host: GitHub
- URL: https://github.com/wavesoftware/scmprompt
- Owner: wavesoftware
- License: apache-2.0
- Created: 2013-07-27T11:20:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-02T18:03:39.000Z (about 9 years ago)
- Last Synced: 2024-10-19T03:18:37.035Z (about 1 month ago)
- Language: Python
- Size: 207 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SCM Prompt
==========Bash prompt with support for SCM distrubuted systems: **GIT** & **Mercurial**
Features
--------![Features](http://i.imgur.com/UJeAyy9.png)
- Support for GIT
- Support for Mercurial
- Pull and Push indicator
- New, Added, Modificated and Conflicts indicators
- Time on each command
- Return code of last command
- Full path to current working directory
- Indicate in red when running as rootInstalation
-----------1. Create `.bash` directory: `mkdir -p ~/.bash`
2. `cd ~/.bash`
3. Clone this repository: `git clone https://github.com/wavesoftware/scmprompt.git scmprompt`
4. Install into your Bash RC: `echo '. ~/.bash/scmprompt/scmprompt.sh' >> ~/.bashrc`Copy & Paste install
--------------------```bash
mkdir -p ~/.bash
git clone https://github.com/wavesoftware/scmprompt.git ~/.bash/scmprompt
echo '. ~/.bash/scmprompt/scmprompt.sh' >> ~/.bashrc
exec bash -l
```Copy & Paste install for all users
----------------------------------```bash
sudo git clone https://github.com/wavesoftware/scmprompt.git /usr/lib/scmprompt
sudo bash -c "echo '. /usr/lib/scmprompt/scmprompt.sh' > /etc/profile.d/scmprompt.sh"
exec bash -l
```Update to newest version
------------------------```bash
cd
git pull
```