mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-14 09:50:08 +00:00
feat(systemadmin): add ping6
alias with count limit (#12697)
This commit is contained in:
parent
9114853500
commit
c1679a12f8
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ plugins=(... systemadmin)
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
|---------|----------------------------------------------------------------------------|--------------------------------------------------------------------|
|
|---------|----------------------------------------------------------------------------|--------------------------------------------------------------------|
|
||||||
| ping | `ping -c 5` | Sends only 5 ICMP Messages |
|
| 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 |
|
| 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 |
|
| path | `print -l $path` | Displays PATH with each entry on a separate line |
|
||||||
| mkdir | `mkdir -pv` | Automatically create parent directories and display verbose output |
|
| mkdir | `mkdir -pv` | Automatically create parent directories and display verbose output |
|
||||||
|
|
|
@ -21,6 +21,7 @@ function retlog() {
|
||||||
}
|
}
|
||||||
|
|
||||||
alias ping='ping -c 5'
|
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 clr='clear; echo Currently logged in on $TTY, as $USERNAME in directory $PWD.'
|
||||||
alias path='print -l $path'
|
alias path='print -l $path'
|
||||||
alias mkdir='mkdir -pv'
|
alias mkdir='mkdir -pv'
|
||||||
|
|
Loading…
Reference in a new issue