Skip to content

Instantly share code, notes, and snippets.

[user]
name =
email =
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = vim
[push]
default = tracking
[color]
ui = auto
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/[\1]/'
}
get_time() {
date "+%H:%M:%S"
}
# enables color in the terminal bash shell export
CLICOLOR=1