added flush dns for macos

This commit is contained in:
2024-08-04 10:47:09 +02:00
parent 782ec265db
commit 061eec50f1
+5
View File
@@ -48,6 +48,11 @@ if (( $+commands[docker] )); then
alias dcp='docker compose pull'
fi
# Flush MacOS DNS
if (( $+commands[dscacheutil] )); then
alias flushdns='sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder'
fi
alias rm='rm -rf'
if [[ '$TERM' == screen* ]]; then