```sh
[ "$command" == "commands" ]
```
That condition can now never be true, since $command is always going to be a path with "/sub-" in it.