From 607b27b38568f16fbc41890ba68f715d09accced Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Wed, 10 Jan 2024 12:51:07 +0800 Subject: [PATCH] zshrc: alias ping -n --- .zshrc2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zshrc2 b/.zshrc2 index 73f0786..8570614 100644 --- a/.zshrc2 +++ b/.zshrc2 @@ -104,9 +104,10 @@ 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' alias "pbd"='ping baidu.com' -alias "p114"='ping -n 114.114.114.114' -alias "p666"='ping6 -n 2001:da8::666' +alias "p114"='ping 114.114.114.114' +alias "p666"='ping6 2001:da8::666' alias "cbd"='curl http://www.baidu.com' alias "cbds"='curl https://www.baidu.com' alias "gdebug"='git add -A; git commit --allow-empty -m "bug fix ($(date))"'