improve exceptions

This commit is contained in:
Chen, Tai-Lin committed 2023-11-26 23:17:02 +08:00
1 parent a22b898c0c
commit 3c1afb92e1
1 file changed
+35 -1
+35 -1
View File
@@ -50,6 +50,41 @@ exceptions:
content:
- '!! `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:
command:
- ^[Ii1]s$
@@ -66,7 +101,6 @@ exceptions:
content:
- '嗨~'
# 需改進
- condition:
command:
- folderl