diff --git a/.zshrc2 b/.zshrc2 index 8570614..2ac4246 100644 --- a/.zshrc2 +++ b/.zshrc2 @@ -104,7 +104,7 @@ alias "se"='sudo -sE' alias "sl"='sudo zsh -l' alias "cps"='rsync -avh --info=progress2' alias "mvs"='rsync -avh --info=progress2 --remove-source-files' -alias "ping"='ping -n' +if [[ $("$DOTFILES/tools/common.sh" get_os_type) == "linux" ]]; then alias "ping"='ping -n'; fi alias "pbd"='ping baidu.com' alias "p114"='ping 114.114.114.114' alias "p666"='ping6 2001:da8::666'