Created
January 22, 2013 13:49
-
-
Save cfg/4594773 to your computer and use it in GitHub Desktop.
patch ack 1.96 to ignore *.min.css files by default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ack.pl 2013-01-22 08:44:50.810396100 -0500 | |
+++ ack-1.9.6.pl 2012-11-19 16:51:47.066613100 -0500 | |
@@ -1645,7 +1645,6 @@ | |
return if $filename =~ m{^core\.\d+$}o; | |
return if $filename =~ m{[._].*\.swp$}o; | |
return if $filename =~ /[.-]min\.js$/; | |
- return if $filename =~ /[.-]min\.css$/; | |
return 1; | |
} | |
@@ -1854,7 +1853,6 @@ | |
/[._].*\\.swp\$/ - Vi(m) swap files | |
/core\\.\\d+\$/ - core dumps | |
/[.-]min\\.js\$/ - Minified javascript files | |
- /[.-]min\\.css\$/ - Minified css files | |
Miscellaneous: | |
--noenv Ignore environment variables and ~/.ackrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment