Initial commit of very basic dotfiles

This commit is contained in:
Dave Lens
2012-04-26 11:55:03 +02:00
parent fc2a690f83
commit dd60bd7ba6
12 changed files with 3301 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# returns the active git branch - this is used in rewrite_prompt()
git_branch()
{
git branch --no-color 2>/dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(branch: \1)/'
}