Created
January 4, 2009 00:00
-
-
Save stefanpenner/42957 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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