Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env zsh
#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
setopt promptsubst
autoload -U add-zsh-hook
PROMPT_HEAD_COLOR=$FG[202]
PROMPT_SUCCESS_COLOR=$FG[117]
PROMPT_FAILURE_COLOR=$FG[124]
@alexgby
alexgby / Preferences.sublime-settings
Created January 4, 2013 09:06
User settings for Sublime Text 2: ~/Library/Application Support/Sublime Text 2/Packages/User/preferences.sublime-settings
{
"autoReloadChanged": true,
"codeintel_config":
{
"Python":
{
"env":
{
"PATH": "$PATH",
"PYTHONPATH": "/Library/Python/2.7/site-packages:$PYTHONPATH"
@alexgby
alexgby / Example.coffee
Created December 19, 2012 06:55
Example Backbone Boilerplate module in Coffeescript
# Example module
define [
# Application.
"app"
],
# Map dependencies from above array.
(app) ->
# Create a new module.