Skip to content

Instantly share code, notes, and snippets.

@karagenit
Last active July 15, 2018 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karagenit/0ca16600f8cf81c113a41525aba242a1 to your computer and use it in GitHub Desktop.
Save karagenit/0ca16600f8cf81c113a41525aba242a1 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
if [ ! $1 ]
then
echo "Usage: fsearch [STRING]"
exit
fi
grep -nr . -e $1
@karagenit
Copy link
Author

Add as an alias?

@karagenit
Copy link
Author

  • Makefile for install to /usr/local/bin
  • Convert to normal repo
  • Quotes around $1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment