sudofox / shell-mommy

Mommy is here for you on the command line ~ ❤️
394 stars 15 forks source link

shell-mommy.sh: replace some ifs with substitution #29

Open CorruptedVor opened 3 months ago

CorruptedVor commented 3 months ago

I've made sure to test it, this should work for all POSIX compliant shells.

https://www.shellcheck.net exists if you didn't know (false warnings because it can't do multi-line quoted strings)

sudofox commented 3 months ago

Will review this soon