Commit graph

17 commits

Author SHA1 Message Date
nojhan
9af74ca9bb keep non conditional colors in the prompt builder 2012-07-19 11:17:40 +02:00
nojhan
3e1d262754 smart spacing management 2012-07-19 11:14:42 +02:00
nojhan
50e083e42d bugfix svn branch/root rame, some comments 2012-07-19 11:00:18 +02:00
nojhan
847d872acc subversion support 2012-07-19 10:49:07 +02:00
nojhan
ce4d146d73 mercurial support 2012-07-19 09:59:09 +02:00
nojhan
27cadafb81 root prompt punctuation similar to the user one 2012-07-18 11:48:46 +02:00
nojhan
8fbb464288 no space after hostname 2012-07-17 11:02:30 +02:00
François Schmidts
ff35da39a2 simpler SSH_IP acquiring method 2012-07-17 11:01:54 +02:00
nojhan
03e500fea2 simpler punctuation and colorscheme
* less punctuation: replace brackets with a single letter around battery, load, nothing around jobs and return value
* avoid extra spaces
* uncolored punctuation
* color the prompt mark in red if root, else in bold white
* user in light white and working dir in bold white
2012-07-17 10:18:03 +02:00
nojhan
cc64cd7c73 bring back hostname display depending on connection type 2012-07-17 09:50:30 +02:00
nojhan
dec4533b56 replace tabs indentation by spaces 2012-07-17 09:23:44 +02:00
Aurelien Requiem
b22b8ad4dc Major refactoring of the code and more features
* modular function for building the prompt from the othe functions
* use tput for colors, everywhere
* show the standing commit numbers
* support branches without remote
* check if a battery is present
* show error codes of previous commands
* use ± as the prompt mark within git directories
* somewhat different colors
2012-07-17 09:22:40 +02:00
Yann 'Ze' Richard
0aa9f952da Fix : no power_supply support message
Close #1
2012-07-09 13:28:29 +02:00
Yann 'Ze' Richard
b6a26d4df1 Prompt.bash : Verify if acpi command exists to avoid error message. 2012-07-09 11:32:02 +02:00
nojhan
24ccf4783c +license AGPLv3 2012-07-07 11:35:58 +02:00
nojhan
f28ba64460 +small comment 2012-07-07 11:10:44 +02:00
nojhan
6a9b27e1af Prompt building in a separated file, with more comments 2012-07-07 09:32:29 +02:00