RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

filepath: 'which' for open files

Tired of mashing tab at the command line or dragging file handles from your favourite text editor so you can reference files in the terminal? It annoyed me sufficiently enough today so I hacked together filepath, which’s little brother. Instead of spec sp[tab]/mo[tab]/it[tab]e[tab][tab][tabtabtabtabtabtab], you can now do spec `filepath` Assuming you just tabbed to your terminal from your editor</code> or spec `filepath textmate` if you want to be more explicit.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in