Skip to content

Instantly share code, notes, and snippets.

View bentruyman's full-sized avatar
🕺

Ben Truyman bentruyman

🕺
  • Austin, TX, USA, Earth, Milky Way
View GitHub Profile
PROMPT='%{$fg_bold[red]%}➠ %{$fg_bold[yellow]%}%n%{$fg_bold[white]%}%p%{$fg_bold[white]%} of %{$fg_bold[blue]%}%m%{$fg_bold[white]%} in %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$fg[white]%}commands thee to %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
// Proto-classical Inheritence?? AMIDOINITRITE
function extend (clazz, superclass) {
clazz.prototype = new superclass;
clazz.superclass = superclass;
}
// So...looks like this is a stripped down version of YUI's Y.extend
var bodyContents = htmlCodez.match(/(?:(?:\s|\S)*<body[^>]*>)((?:\s|\S)*)(?:<\s*\/\s*body\s*\>(?:\s|\S)+)/)[1];