Skip to content

Instantly share code, notes, and snippets.

@ankjevel
Last active January 11, 2021 10:00
Show Gist options
  • Save ankjevel/242dcb40812a997dde1ff8ffe63931c1 to your computer and use it in GitHub Desktop.
Save ankjevel/242dcb40812a997dde1ff8ffe63931c1 to your computer and use it in GitHub Desktop.
@ankjevel
Copy link
Author

ankjevel commented Jan 7, 2021

# make executable (maybe save as `search`?)
# maybe store in a directory which is in your `$PATH` ?
chmod +x search

# search for `username`
./search.sh username

@ankjevel
Copy link
Author

The search is done using regex, so, escape the characters as needed.
To remove the default exclude-pattern, run command with --ignore-default, any other argument needed to be passed should be done so using a double-dash, then equal; as so: --include-dir='packages'

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