mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03: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:
|
content:
|
||||||
- '!! `ls` 後面要加空格 !!'
|
- '!! `ls` 後面要加空格 !!'
|
||||||
|
|
||||||
|
- condition:
|
||||||
|
command:
|
||||||
|
- ^cat\S*$
|
||||||
|
responses:
|
||||||
|
- type: narrative
|
||||||
|
content:
|
||||||
|
- '!! `cat` 後面要加空格 !!'
|
||||||
|
|
||||||
|
- condition:
|
||||||
|
command:
|
||||||
|
- ^touch\S*$
|
||||||
|
responses:
|
||||||
|
- type: narrative
|
||||||
|
content:
|
||||||
|
- '!! `touch` 後面要加空格 !!'
|
||||||
|
|
||||||
- condition:
|
- condition:
|
||||||
not:
|
not:
|
||||||
command:
|
command:
|
||||||
@@ -69,6 +85,14 @@ exceptions:
|
|||||||
content:
|
content:
|
||||||
- '!! `mv` 後面要加空格 !!'
|
- '!! `mv` 後面要加空格 !!'
|
||||||
|
|
||||||
|
- condition:
|
||||||
|
command:
|
||||||
|
- ^mkdir\S*$
|
||||||
|
responses:
|
||||||
|
- type: narrative
|
||||||
|
content:
|
||||||
|
- '!! `mkdir` 後面要加空格 !!'
|
||||||
|
|
||||||
- condition:
|
- condition:
|
||||||
command:
|
command:
|
||||||
- ^rmdir\S*$
|
- ^rmdir\S*$
|
||||||
|
|||||||
Reference in new issue
Block a user