mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 13:16:59 +08:00
zshrc: alias ping before checking os type
This commit is contained in:
parent
3667d3bd15
commit
864456d35d
2
.zshrc2
2
.zshrc2
|
@ -104,7 +104,7 @@ alias "se"='sudo -sE'
|
||||||
alias "sl"='sudo zsh -l'
|
alias "sl"='sudo zsh -l'
|
||||||
alias "cps"='rsync -avh --info=progress2'
|
alias "cps"='rsync -avh --info=progress2'
|
||||||
alias "mvs"='rsync -avh --info=progress2 --remove-source-files'
|
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 "pbd"='ping baidu.com'
|
||||||
alias "p114"='ping 114.114.114.114'
|
alias "p114"='ping 114.114.114.114'
|
||||||
alias "p666"='ping6 2001:da8::666'
|
alias "p666"='ping6 2001:da8::666'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user