added flush dns for macos
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user