summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-08-08 17:09:49 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-08-08 17:09:49 +0200
commit86f55d875e4427ab3a7ccf9c2343385868fd749e (patch)
tree6574fac44d4d58dbc9b28db598e6712048ddb1d6
parent0705b7111e15bcad88fce8cd603db444de174877 (diff)
downloaddotfiles-86f55d875e4427ab3a7ccf9c2343385868fd749e.tar.gz
dotfiles-86f55d875e4427ab3a7ccf9c2343385868fd749e.tar.xz
dotfiles-86f55d875e4427ab3a7ccf9c2343385868fd749e.zip
Bash config: fix ack-intersection command
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 559c206..cb5305a 100644
--- a/.bashrc
+++ b/.bashrc
@@ -61,7 +61,7 @@ sec-wx-mem () {
ack-intersection () {
[ $# -ne 2 ] && echo "usage: $FUNCNAME 1st-regexp 2nd-regexp" && return
- comm <(ack -al --follow "Topic" | sort) <(ack -al --follow "news" | sort) -12
+ comm <(ack -al --follow "$1" | sort) <(ack -al --follow "$2" | sort) -12
}
hist-grep () {