Skip to content

Instantly share code, notes, and snippets.

# MEHColeman's Theme
# Mostly based off agnoster's theme - https://gist.github.com/3712874
#
# Removes the powerline font requirement;
# Adds git push/pull icon
#
# Colour a segment, don't work about termination characters, etc
colour_segment() {
local bg fg
[[ -n $1 ]] && bg="%K{$1}" || bg="%k"