mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
improve exceptions
This commit is contained in:
1 parent
68492cd932
commit
d4446186cd
1 file changed
+24
@@ -50,6 +50,22 @@ exceptions:
|
||||
content:
|
||||
- '!! `ls` 後面要加空格 !!'
|
||||
|
||||
- condition:
|
||||
command:
|
||||
- ^cat\S*$
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- '!! `cat` 後面要加空格 !!'
|
||||
|
||||
- condition:
|
||||
command:
|
||||
- ^touch\S*$
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- '!! `touch` 後面要加空格 !!'
|
||||
|
||||
- condition:
|
||||
not:
|
||||
command:
|
||||
@@ -69,6 +85,14 @@ exceptions:
|
||||
content:
|
||||
- '!! `mv` 後面要加空格 !!'
|
||||
|
||||
- condition:
|
||||
command:
|
||||
- ^mkdir\S*$
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- '!! `mkdir` 後面要加空格 !!'
|
||||
|
||||
- condition:
|
||||
command:
|
||||
- ^rmdir\S*$
|
||||
|
||||
Reference in new issue
Block a user