dots

git clone git://mattcarlson.org/repos/dots.git
Log | Files | Refs

commit 8a6bf07755cc42ff8986e2e8184e2e7751091b2b
parent 3b2dc0aaafc4b6cc742c972d18c83b613de3e407
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Thu,  2 Dec 2021 16:24:00 -0500

show mv status for hosts

Diffstat:
M.local/bin/hosts.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/hosts.sh b/.local/bin/hosts.sh @@ -5,9 +5,9 @@ HOSTS_ENABLED_DIR='/etc/' HOSTS_DISABLED_DIR="${HOME}/.local/share/" -enable() { doas mv "${HOSTS_DISABLED_DIR}hosts" "${HOSTS_ENABLED_DIR}" && env HERBE_ID=/0 herbe 'Hosts enabled' & } +enable() { doas mv -v "${HOSTS_DISABLED_DIR}hosts" "${HOSTS_ENABLED_DIR}" && env HERBE_ID=/0 herbe 'Hosts enabled' & } -disable() { doas mv "${HOSTS_ENABLED_DIR}hosts" "${HOSTS_DISABLED_DIR}" && env HERBE_ID=/0 herbe 'Hosts disabled' & } +disable() { doas mv -v "${HOSTS_ENABLED_DIR}hosts" "${HOSTS_DISABLED_DIR}" && env HERBE_ID=/0 herbe 'Hosts disabled' & } main() { # in each of the following cases we want to sleep to prevent xcb unknown sequence number error