From aa26a7c929312276abc254ac451454a0984fc372 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 7 Jan 2013 10:35:07 +0900 Subject: [PATCH] add alias locate for mac --- bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bashrc b/bashrc index 2428e9a..cb2b693 100755 --- a/bashrc +++ b/bashrc @@ -168,6 +168,8 @@ null type aunpack && alias aunp=aunpack null type lv && alias lv="lv|less" isdarwin && alias updatedb="LC_ALL=C updatedb" +# do not use locate installed by macports +isdarwin && test -x /usr/bin/locate && alias locate="/usr/bin/locate" # pad alias pad=notepad