Exclude git folder search
This commit is contained in:
parent
5815316af7
commit
48455aecdf
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ jd(){
|
||||||
s)
|
s)
|
||||||
grep --color=always --exclude-dir=".webassets-cache" \
|
grep --color=always --exclude-dir=".webassets-cache" \
|
||||||
--exclude-dir="dist" \
|
--exclude-dir="dist" \
|
||||||
|
--exclude-dir=".git" \
|
||||||
--exclude-dir="node_modules" --include="*$suffix" \
|
--exclude-dir="node_modules" --include="*$suffix" \
|
||||||
-r -n $insensitive "$OPTARG" * | \
|
-r -n $insensitive "$OPTARG" * | \
|
||||||
sed -e "s/:/ +/" | sed -e "s/:/ --/" | sed -e "s/^/vim /"
|
sed -e "s/:/ +/" | sed -e "s/:/ --/" | sed -e "s/^/vim /"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue