diff rc/bashrc @ 749:3cacb4270864 default tip

[bashrc] hg grep now does the expected thing, no need for custom alias
author nanaya <me@nanaya.net>
date Tue, 02 Sep 2025 22:43:45 +0900
parents 47da3cb3eafa
children
line wrap: on
line diff
--- a/rc/bashrc	Sat Aug 23 20:42:33 2025 +0900
+++ b/rc/bashrc	Tue Sep 02 22:43:45 2025 +0900
@@ -179,12 +179,6 @@
   alias egrep="grep -E"
 fi
 
-# FIXME: missing test for hg and xargs -0
-_xargs_grep="${_grep}"
-[ "${_has_gnu_grep}" = y ] && _xargs_grep="${_grep} --color=always"
-alias hggrep="hg locate -0 | xargs -0 ${_xargs_grep}"
-unset _xargs_grep
-
 unset _has_gnu_ls
 unset _has_gnu_grep
 unset _has_posix_grep