Irb

Windows Configuration
Create a file : require 'irb/completion' require 'fileutils' include FileUtils ARGV.concat [ "--readline", "--prompt-mode", "simple" ] def ls    Dir.new(".").each do |file| puts file end end Now you can run a series of commands like this: irb(main):001:0> cd "/" => nil irb(main):002:0> ls file1.txt file2.txt $Recycle.Bin Documents and Settings tmp Windows => # irb(main):003:0> `gvim file1.txt` => "" irb(main):004:0>