Include also the alias for `sources.redhat.com': sourceware.org
authorlace <>
Wed, 27 Dec 2006 17:54:26 +0000 (17:54 +0000)
committerlace <>
Wed, 27 Dec 2006 17:54:26 +0000 (17:54 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index cb16073..51c35cb 100644 (file)
--- 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=""