From 766d3d55e9f8b571061a9b77e7335890c4a1d876 Mon Sep 17 00:00:00 2001 From: lace <> Date: Wed, 27 Dec 2006 17:54:26 +0000 Subject: [PATCH] Include also the alias for `sources.redhat.com': sourceware.org --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index cb16073..51c35cb 100644 --- a/.bashrc +++ b/.bashrc @@ -257,7 +257,7 @@ function diffc { diff -u "$@"|grep -v '^\(Only in \|Binary files\)'; }; export - function diffi { diffc -X ~/.diffi.list "$@"; }; export -f diffi function cvs {(unset cvs; local _opts _opts_d _now _line _o - if grep -iw "sources.redhat.com:/cvs/src" CVS/Root &>/dev/null;then _opts_d="";else _opts_d="-d";fi + if grep -iw '\(sources.redhat.com\|sourceware.org\):/cvs/src' CVS/Root &>/dev/null;then _opts_d="";else _opts_d="-d";fi _now=false _line="" _opts="" -- 1.8.3.1