imported a lot from unix dotfiles, perl helper
show + dirty if we are ahead of master