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
a22b898c0c
commit
3c1afb92e1
1 file changed
+35
-1
+35
-1
@@ -50,6 +50,41 @@ exceptions:
|
|||||||
content:
|
content:
|
||||||
- '!! `ls` 後面要加空格 !!'
|
- '!! `ls` 後面要加空格 !!'
|
||||||
|
|
||||||
|
- condition:
|
||||||
|
not:
|
||||||
|
command:
|
||||||
|
- ^rmdir$
|
||||||
|
command:
|
||||||
|
- ^rm\S*$
|
||||||
|
responses:
|
||||||
|
- type: narrative
|
||||||
|
content:
|
||||||
|
- '!! `rm` 後面要加空格 !!'
|
||||||
|
|
||||||
|
- condition:
|
||||||
|
command:
|
||||||
|
- ^mv\S*$
|
||||||
|
responses:
|
||||||
|
- type: narrative
|
||||||
|
content:
|
||||||
|
- '!! `mv` 後面要加空格 !!'
|
||||||
|
|
||||||
|
- condition:
|
||||||
|
command:
|
||||||
|
- ^rmdir\S*$
|
||||||
|
responses:
|
||||||
|
- type: narrative
|
||||||
|
content:
|
||||||
|
- '!! `rmdir` 後面要加空格 !!'
|
||||||
|
|
||||||
|
- condition:
|
||||||
|
command:
|
||||||
|
- ^cp\S*$
|
||||||
|
responses:
|
||||||
|
- type: narrative
|
||||||
|
content:
|
||||||
|
- '!! `cp` 後面要加空格 !!'
|
||||||
|
|
||||||
- condition:
|
- condition:
|
||||||
command:
|
command:
|
||||||
- ^[Ii1]s$
|
- ^[Ii1]s$
|
||||||
@@ -66,7 +101,6 @@ exceptions:
|
|||||||
content:
|
content:
|
||||||
- '嗨~'
|
- '嗨~'
|
||||||
|
|
||||||
# 需改進
|
|
||||||
- condition:
|
- condition:
|
||||||
command:
|
command:
|
||||||
- folderl
|
- folderl
|
||||||
|
|||||||
Reference in new issue
Block a user