Skip to content

Instantly share code, notes, and snippets.

@intinig
Created July 19, 2011 15:36
Show Gist options
  • Save intinig/1092809 to your computer and use it in GitHub Desktop.
Save intinig/1092809 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
ARGV.each do |arg|
system "open #{arg.split("\r")[0]}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment