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