|
|
c2b16d3d41
|
Tweak default recommended PS1 value
|
2013-03-21 18:23:51 +00:00 |
|
eacousineau
|
8c7e3069cd
|
Added in some redirection to check and hide error message in find_git_dirty
|
2013-03-20 15:53:24 -05:00 |
|
eacousineau
|
c58bee1f67
|
find_git_dirty: Added in check between staged and unstaged changes
|
2013-03-19 14:51:29 -05:00 |
|
eacousineau
|
226e2fc80b
|
Changed find_git_branch to use rev-parse and find_git_dirty to use diff-files for speed (I think). Also removed preceding space in front of branch, and changed function syntax to to what the Git shell scripts use.
|
2013-03-19 14:27:19 -05:00 |
|
eacousineau
|
1b027dafef
|
Trying out some mods to this. Seems like speed is an issue with git rev-parse
|
2013-03-19 14:05:02 -05:00 |
|
Mike Stenhouse
|
04b91b50f2
|
Shouldn't output anything if we're not in a repo.
|
2012-08-16 15:28:05 +01:00 |
|
Mike Stenhouse
|
c0933f894c
|
Add the branch's dirty state to the prompt.
Based on:
http://bytebaker.com/2012/01/09/show-git-information-in-your-prompt/
|
2012-08-16 14:49:10 +01:00 |
|
|
|
5f876edda3
|
cleaned up the prompt format a little bit
|
2010-02-20 15:13:39 +02:00 |
|
|
|
7d563b0951
|
added SUDO_PS1 prompt variable
|
2010-02-20 12:07:55 +02:00 |
|
|
|
87bf0b1b0f
|
updated recommende prompt format
|
2009-11-15 23:30:51 +02:00 |
|
|
|
e13bbc4407
|
initial commit
|
2009-11-14 00:21:28 +02:00 |
|