Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stwalkerster/environment
My bash (etc) environment, just the way I like it. :)
https://github.com/stwalkerster/environment
Last synced: 1 day ago
JSON representation
My bash (etc) environment, just the way I like it. :)
- Host: GitHub
- URL: https://github.com/stwalkerster/environment
- Owner: stwalkerster
- License: mit
- Created: 2011-11-15T11:17:10.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T18:14:36.000Z (2 months ago)
- Last Synced: 2024-09-08T19:18:19.651Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 128 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is my bash configuration and stuff.
## Installation: ##
1. Clone the repo
1. Source the bashrc file from .bashrc
1. ???
1. Profit!## Explanation ##
The prompt is changed to the following:
```
[hh:mm:ss][user@host:workingdir]
bash $
```If you are in a git repository, the following is the prompt
```
[hh:mm:ss][user@host:workingdir][branch|4|2|1]
$
```The colour of the branch bit is as follows, in order of priority:
* Red: Unstaged files
* Yellow: Staged files
* Blue: Untracked files
* Green: Working directory cleanThe last bit is only present if the working directory isn't clean, and is made up of three numbers, using the same meanings and colours as the above. If any number is zero, it won't be shown.
Other functionality:
* directory stack
* readlink
* perforce