Commit f6b19589 authored by antoor's avatar antoor

Add ping command

增加ping命令补全
parent 1bbc6c0c
......@@ -203,11 +203,13 @@ class Terminal {
callback(
this.isWin ? [
'dir', 'whoami', 'net', 'ipconfig', 'netstat', 'cls',
'wscript', 'nslookup', 'copy', 'del', 'ren', 'md', 'type'
'wscript', 'nslookup', 'copy', 'del', 'ren', 'md', 'type',
'ping'
] : [
'cd', 'ls', 'find', 'cp', 'mv', 'rm', 'ps', 'kill',
'file', 'tar', 'cat', 'chown', 'chmod', 'pwd', 'history',
'whoami', 'ifconfig', 'clear'
'whoami', 'ifconfig', 'clear',
'ping'
]
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment