From: Nicolas Boisselier Date: Sat, 21 Oct 2017 01:37:36 +0000 (+0100) Subject: etc/profile.d/functions nb_repos_grep X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=19ac6dc19112d1f8c82671fc03b860a37b51f526;p=nb.git etc/profile.d/functions nb_repos_grep --- 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