Commit Graph

64 Commits

Author SHA1 Message Date
nojhan
3cca6ff320 root prompt punctuation similar to the user one 2012-07-18 11:48:46 +02:00
nojhan
b8d646048e no space after hostname 2012-07-17 11:02:30 +02:00
François Schmidts
cde8a236a6 simpler SSH_IP acquiring method 2012-07-17 11:01:54 +02:00
nojhan
037f55e532 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
41bc71d994 bring back hostname display depending on connection type 2012-07-17 09:50:30 +02:00
nojhan
e555e92f95 replace tabs indentation by spaces 2012-07-17 09:23:44 +02:00
Aurelien Requiem
258ec164ef 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
nojhan
fe0a65b177 Merge pull request #2 from Zeuh/master
Fix: test if acpi exists to avoid error message
2012-07-17 00:13:08 -07:00
Yann 'Ze' Richard
c1b7e33a64 Fix : no power_supply support message
Close #1
2012-07-09 13:28:29 +02:00
Yann 'Ze' Richard
7c096e567f Prompt.bash : Verify if acpi command exists to avoid error message. 2012-07-09 11:32:02 +02:00
nojhan
96d0b6d195 +license AGPLv3 2012-07-07 11:35:58 +02:00
nojhan
188a62967d +small comment 2012-07-07 11:10:44 +02:00
nojhan
1f93a18e44 Prompt building in a separated file, with more comments 2012-07-07 09:32:29 +02:00
nojhan
ca075374df first commit 2011-02-05 13:26:04 +01:00