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
a22b898c0c
commit
3c1afb92e1
1 file changed
+35
-1
+35
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user