Created
November 5, 2011 01:20
-
-
Save bbbrrriiiaaannn/1340934 to your computer and use it in GitHub Desktop.
Pass in a filename fragment and TextMate will open all instances of that filename in the current directory. Thank you Spotlight, thank you TextMate.
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
#!/bin/bash | |
mdfind -onlyin . -name $1 | xargs mate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment