X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;ds=sidebyside;f=brc2;h=54fe47b742835d1c3b8eb34e6d00234c22dbd68d;hb=ad09c51104f62d1da1782387025b44327a081872;hp=7b98ad9a991dfcaa84f398f1265045a7b963f097;hpb=ce4cacd36c5b5babeea85d0f93771017e6169180;p=distro-setup diff --git a/brc2 b/brc2 index 7b98ad9..54fe47b 100644 --- a/brc2 +++ b/brc2 @@ -571,7 +571,7 @@ dnsb8() { local f=/var/lib/bind/db.b8.nz m ser stop named m sleep 1 - m sudo rm -fv $f.jnl + m sudo rm -fv $f.jnl $f.signed.jnl m sudo install -m 644 -o bind -g bind /p/c/machine_specific/vps/bind-initial/db.b8.nz $f m ser restart named } @@ -2212,7 +2212,7 @@ if type -P rg &>/dev/null; then # --no-messages because of annoying errors on broken symlinks # -z = search .gz etc files # -. = search dotfilesq - rg() { command rg -. -z --no-messages -L -i -M 900 --no-ignore "$@" || return $?; } + rg() { command rg -. -z --no-messages -L -i -M 900 --no-ignore-parent --no-ignore-vcs -g '!.git' "$@" || return $?; } #fails if not exist. ignore complete -r rg 2>/dev/null ||: else