Created
October 25, 2010 14:51
-
-
Save simme/645076 to your computer and use it in GitHub Desktop.
Small bash function for opening a set of files in mate based on a search pattern
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
#!/usr/bin/env bash | |
# Usage: fm nameoffile.php | |
# Searches the current dir you're in | |
function fm { | |
find . -name "$1" -exec mate {} \; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment