From 19ac6dc19112d1f8c82671fc03b860a37b51f526 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 21 Oct 2017 02:37:36 +0100 Subject: [PATCH] etc/profile.d/functions nb_repos_grep --- etc/profile.d/functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/profile.d/functions b/etc/profile.d/functions index d57146bd..33765a95 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -53,6 +53,10 @@ nb_repos_ls() { done } +nb_repos_grep() { + grep $@ `nb_repos` +} + # NB 13.12.16: TODO replace with nb_repos and nb_repos_ls # NB 21.10.17 nb_repo() { # NB 21.10.17 [ -z "$FUNCNAME" ] && local FUNCNAME='nb_repo' # for busybox -- 2.47.3