m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/ag.md
diff options
context:
space:
mode:
Diffstat (limited to 'ag.md')
-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>