aboutsummaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-30 19:04:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-30 19:04:04 +1200
commit3c9ac7ffe0458af442f956b3c350957071af9bb5 (patch)
treeb4f413a3950225b30412140584030658ea880977 /git
parent92b6fc5fccbf8069d86e12d3008a9c379ec7008a (diff)
downloaddotfiles-3c9ac7ffe0458af442f956b3c350957071af9bb5.tar.gz
dotfiles-3c9ac7ffe0458af442f956b3c350957071af9bb5.zip
ack-ish alias for git
Diffstat (limited to 'git')
-rw-r--r--git/gitconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/git/gitconfig b/git/gitconfig
index ff1c7f02..5207efce 100644
--- a/git/gitconfig
+++ b/git/gitconfig
@@ -13,6 +13,9 @@
[advice]
statusHints = false
+[alias]
+ ack = grep --break --heading --line-number --extended-regexp
+
[color]
ui = true
@@ -22,6 +25,10 @@
[difftool]
prompt = false
+[grep]
+ extendRegexp = true
+ lineNumber = true
+
[log]
date = local