1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-10-16 11:40:46 +00:00

fix(grep): exclude Python virtualenv (.venv) dir from grep

The convention to use `.venv/` directories for Python virtualenv's are widespreasd. This directory is huge and gives very little value when grepping in a source code directory.
This commit is contained in:
Henrik Holmboe 2024-09-20 14:58:54 +02:00 committed by Henrik Holmboe
parent 1514145a09
commit 837fd40a56

View file

@ -10,7 +10,7 @@ else
} }
# Ignore these folders (if the necessary grep flags are available) # Ignore these folders (if the necessary grep flags are available)
EXC_FOLDERS="{.bzr,CVS,.git,.hg,.svn,.idea,.tox}" EXC_FOLDERS="{.bzr,CVS,.git,.hg,.svn,.idea,.tox,.venv}"
# Check for --exclude-dir, otherwise check for --exclude. If --exclude # Check for --exclude-dir, otherwise check for --exclude. If --exclude
# isn't available, --color won't be either (they were released at the same # isn't available, --color won't be either (they were released at the same