Skip to content

Instantly share code, notes, and snippets.

View harrikauhanen's full-sized avatar

Harri Kauhanen harrikauhanen

View GitHub Profile
@harrikauhanen
harrikauhanen / harrikauhanen.zsh-theme
Created June 17, 2012 08:57
A concise oh-my-zsh theme with a good Git support
#!/usr/bin/env zsh
# Based on "muse" theme https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/muse.zsh-theme
# - removed the "prompt arrow"
# - shorter current directory indicator
setopt promptsubst
autoload -U add-zsh-hook
# Open a new tab on OSX Terminal with the current working dir.
# Optionally, pass the number of tabs as parameter.
#
# Example:
#
# cd /my/very/long/path/and/i/dont/want/to/repeat/myself
# nt 10
#
# You should add this to your ~/.profile
#
#
# Gisted by harri.kauhanen ('AT') gmail.com
#
# Coucher - Super simple RESTful HTTP service with Rack and CouchFoo
# Should work easily with ActiveRecord or other persistence frameworks.
# This demo only supports HTTP GET requests on existing resources.
# With tiny modifications it could support JSON output or Etag caching.
#
# Feel free to use and modify, but let me know your ideas as well, thanks!
#