Created
July 1, 2015 03:51
-
-
Save 4ydx/19c0f7810d7c55a2a2bb to your computer and use it in GitHub Desktop.
.bashrc
This file contains hidden or 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
| findg() { | |
| find . -type f -exec grep -Hn "$1" {} \; | |
| } | |
| vim_open() { | |
| vim $(find . -type f -exec grep -l "$1" {} \;) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment