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
}
# --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