diff --git a/quests/exceptions.yml b/quests/exceptions.yml index 3b7ee9c..7ab256f 100644 --- a/quests/exceptions.yml +++ b/quests/exceptions.yml @@ -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