Skip to content

Instantly share code, notes, and snippets.

# Path to your oh-my-zsh installation.
export ZSH=/Users/gstralko/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
DEFAULT_USER="gstralko"
c_cyan=`tput setaf 6`
c_red=`tput setaf 1`
c_green=`tput setaf 2`
c_sgr0=`tput sgr0`
c_pink=`tput setaf 5`
parse_git_branch ()
{
git rev-list -n 1 --all >/dev/null 2>&1
retcode=$?
if [ $retcode -eq 129 ]; then