Skip to content

Instantly share code, notes, and snippets.

@stefanpenner
Created January 4, 2009 00:00
Show Gist options
  • Save stefanpenner/42957 to your computer and use it in GitHub Desktop.
Save stefanpenner/42957 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'wirble'
require 'fileutils'
# Colorize
Wirble.init
Wirble.colorize
# I use vim
alias q exit
# Basic directory operations... more to come
def ls(arg='*')
Dir[arg]
end
def cd(arg= '.')
FileUtils.cd(arg, :verbose => true)
end
# Handy helper methods
class Object
def m
methods - Object.methods
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment