/ggrep

ZSH Plugin for recursive git grep

Primary LanguageShellMIT LicenseMIT

Recursive git grep

Traverses all git repostories residing within a sub file hierarchy and runs git grep for a given search term.

Licencend under MIT License. Made with ❤️ , contributions are welcome.

Usage

Exports ggrep function. It uses the current directory as the root folder of a file hierarchy to be traversed. Run git grep for timoe recursively by

    ggrep "timoe"

ZSH plugin

Recursive git grep is exported as a ZSH plugin. Simply clone this repository and add ggrep as a plugin to your .zshrc file.

Depends on

  • git
  • tput