From d3ccb64a73a3fa8b6d71eb6f2588da2dec9bc7cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 24 Feb 2024 19:25:49 +0100 Subject: [PATCH] Let's load zsh/regex early and out of loop. --- qsgen2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index b025814..1015a82 100755 --- a/qsgen2 +++ b/qsgen2 @@ -172,6 +172,7 @@ builtin cd ${config[project_root]} # Loading Zsh modules zmodload zsh/files zmodload zsh/datetime +zmodload zsh/regex # Let's put these here for now. export today=$(strftime "%Y-%m-%d - %T") @@ -1245,7 +1246,7 @@ function _qstags() { fi # Load regex module - zmodload zsh/regex + # zmodload zsh/regex # Define tag replacements as an associative array typeset -A qstags=(