浏览代码

feat(systemadmin): add `ping6` alias with count limit (#12697)

Alexander Schaber 2 月之前
父节点
当前提交
c1679a12f8
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      plugins/systemadmin/README.md
  2. 1 0
      plugins/systemadmin/systemadmin.plugin.zsh

+ 1 - 0
plugins/systemadmin/README.md

@@ -13,6 +13,7 @@ plugins=(... systemadmin)
 | Alias   | Command                                                                    | Description                                                        |
 |---------|----------------------------------------------------------------------------|--------------------------------------------------------------------|
 | ping    | `ping -c 5`                                                                | Sends only 5 ICMP Messages                                         |
+| ping6   | `ping6 -c 5`                                                               | Sends only 5 ICMPv6 Messages                                       |
 | clr     | `clear; echo Currently logged in on $TTY, as $USERNAME in directory $PWD.` | Clears the screen and prints the current user, TTY, and directory  |
 | path    | `print -l $path`                                                           | Displays PATH with each entry on a separate line                   |
 | mkdir   | `mkdir -pv`                                                                | Automatically create parent directories and display verbose output |

+ 1 - 0
plugins/systemadmin/systemadmin.plugin.zsh

@@ -21,6 +21,7 @@ function retlog() {
 }
 
 alias ping='ping -c 5'
+alias ping6='ping6 -c 5'
 alias clr='clear; echo Currently logged in on $TTY, as $USERNAME in directory $PWD.'
 alias path='print -l $path'
 alias mkdir='mkdir -pv'