Skip to content

Commit

Permalink
.aliases: Make flush kill mDNSResponder as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmercer authored and mathiasbynens committed Aug 24, 2012
1 parent 46196ac commit 93e6bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .aliases
Expand Up @@ -53,7 +53,7 @@ alias ips="ifconfig -a | grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+
alias whois="whois -h whois-servers.net"

# Flush Directory Service cache
alias flush="dscacheutil -flushcache"
alias flush="dscacheutil -flushcache && killall -HUP mDNSResponder"

# Clean up LaunchServices to remove duplicates in the “Open With” menu
alias lscleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder"
Expand Down

0 comments on commit 93e6bca

Please sign in to comment.