Closed carlosmmatos closed 1 year ago
@falcon-pioupiou can you review this, as you introduced these changes, and I have no idea how they worked for you. I definitely want to keep the functionality, but this seems to be a safer way to accomplish what you intended.
Fixes #108
There is some weird issue when trying to have a case statement inside and if block, inside a shell expression $(). This keeps the same logic, just moves the if statements outside the expansion to allow the case to work as intended.