tessen

default description
git clone https://git.awy.one/tessen.git
Log | Files | Refs | README | LICENSE

commit c30ddc7bc917ad419c19840072d11557598a6891
parent b2ffbb490e3a667009fd335571c963661f44eed8
Author: Ayush Agarwal <ayush@ayushnix.com>
Date:   Tue,  5 Mar 2024 17:21:25 +0530

fix: allow specifying more chars in the config

At this point, this script feels like a giant hack but considering how
the project allows specifying regexes in the config, might as well allow
specifying characters in the POSIX BRE at the very least.

Diffstat:
Mtessen | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tessen b/tessen @@ -623,7 +623,7 @@ https://github.com/ayushnix/tessen parse_config() { local line idx key val local -a config_arr - local config_regex='^[[:alpha:]_]+="[[:alnum:]~_./^$|()-]+"$' + local config_regex='^[[:alpha:]_]+="[[:alnum:]~_./^$|()[],*-]+"$' # in case the user hasn't provided an explicit location, we'll have to check # if the default file exists before we parse it if [[ -s $_TSN_CONFIG ]]; then