Add scss and sass to the searchcss command
This commit is contained in:
parent
b94826a449
commit
46ecab1510
1 changed files with 1 additions and 1 deletions
2
bashrc
2
bashrc
|
@ -86,7 +86,7 @@ searchjs() {
|
|||
}
|
||||
searchcss() {
|
||||
# This will search through .css and .less files but won't search minified files
|
||||
grep -r -i -n --color="auto" --include=\*.{css,less} --exclude=\*.min.css "$1" .
|
||||
grep -r -i -n --color="auto" --include=\*.{css,less,scss,sass} --exclude=\*.min.css "$1" .
|
||||
}
|
||||
searchphp() {
|
||||
grep -r -i -n --color="auto" --include="*.php" "$1" .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue