Initial commit of very basic dotfiles
This commit is contained in:
@@ -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)/'
|
||||
}
|
||||
Reference in New Issue
Block a user