From a0d1d0f3d692ad4928f7766bad963de887622997 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 11 Oct 2017 14:11:37 +0100 Subject: [PATCH] etc/profile.d/mac.sh --- etc/profile.d/mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile.d/mac.sh b/etc/profile.d/mac.sh index 0d00fd0b..745ef4fa 100644 --- a/etc/profile.d/mac.sh +++ b/etc/profile.d/mac.sh @@ -42,7 +42,7 @@ alias mac_top_proc="echo 'TOP PROCESSES:'; ps -Aro'%cpu, ucomm, user' | grep roo alias mac_sleep='pmset sleepnow' alias mac_mount_nfs='sudo mount -o resvport -t nfs' alias mac_automount='sudo automount -v' -alias mac_dns_flush='sudo dscacheutil -flushcache' +alias mac_dns_flush='sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder' alias mac_sleep='pmset sleepnow' alias mac_halt='halt=1 && bash -c "(sleep 3 && halt) &" && logout' -- 2.47.3