Skip to content

Instantly share code, notes, and snippets.

@purefan
Last active May 15, 2018 08:26
Show Gist options
  • Save purefan/5173232 to your computer and use it in GitHub Desktop.
Save purefan/5173232 to your computer and use it in GitHub Desktop.
This is what I use to have a pretty "Search in files". In debian based distros you can add it to /usr/bin/fif and call it like this: fif whatever
#!/bin/bash
find . -not -iwholename '*.svn*' -type f -print | xargs egrep --color=auto --line-number --no-messages "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment