Created
October 1, 2014 19:49
-
-
Save compwron/86c220dc000085f5c444 to your computer and use it in GitHub Desktop.
pick me a file
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
files = `git ls-files | grep -v vendor`.split("\n") | |
a = files[Random.new.rand(files.size)] | |
p a | |
`open -a "/Applications/Sublime\ Text.app/" #{a}` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment