From 6bb6a428bc991ac68c7a841f999ac26508c22b7f Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Fri, 26 Apr 2024 14:50:23 +0800 Subject: [PATCH] feat(zshrc): alias ping6 --- .zshrc2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc2 b/.zshrc2 index 2ac4246..3b66101 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' -if [[ $("$DOTFILES/tools/common.sh" get_os_type) == "linux" ]]; then alias "ping"='ping -n'; fi +if [[ $("$DOTFILES/tools/common.sh" get_os_type) == "linux" ]]; then alias "ping"='ping -n'; alias "ping6"='ping6 -n'; fi alias "pbd"='ping baidu.com' alias "p114"='ping 114.114.114.114' alias "p666"='ping6 2001:da8::666'