dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Require Bash 4+

dshoreman opened this issue · comments

NextShot uses some expansions and other syntax (such as ${rename,,} to lowercase the boolean rename option) that is only available as of Bash v4.

You'd think most systems would be on Bash 4 already, but it might not always be the case. For instance OSX - while not (yet) supported by NextShot - is still running v3 out of the box.

If we detect a system running Bash < 4, NextShot should exit with an error message stating that fact.