m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Chrzanowski <martin@celo.org>2019-02-01 15:22:36 -0800
committerMartin Chrzanowski <martin@celo.org>2019-02-01 15:22:36 -0800
commit3a1ae42a5e7b2e4f596a819262ca72d5207b7200 (patch)
tree16b65df9ac5cd96e25697ba8a072fe24e81e5fb7
parent04b31260d241d44f2f456ef65c6b81190fbafb77 (diff)
Add ag
-rw-r--r--ag.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/ag.md b/ag.md
new file mode 100644
index 0000000..5d6be64
--- /dev/null
+++ b/ag.md
@@ -0,0 +1,9 @@
+# The Silver Searcher
+
+## Print context
+
+ ag -B <before_lines> -A <after_lines>
+
+## Ignore directories
+
+ ag --ignore <pattern>