Let's load zsh/regex early and out of loop.

This commit is contained in:
Stig-Ørjan Smelror 2024-02-24 19:25:49 +01:00
parent a2e4060977
commit d3ccb64a73

3
qsgen2
View File

@ -172,6 +172,7 @@ builtin cd ${config[project_root]}
# Loading Zsh modules # Loading Zsh modules
zmodload zsh/files zmodload zsh/files
zmodload zsh/datetime zmodload zsh/datetime
zmodload zsh/regex
# Let's put these here for now. # Let's put these here for now.
export today=$(strftime "%Y-%m-%d - %T") export today=$(strftime "%Y-%m-%d - %T")
@ -1245,7 +1246,7 @@ function _qstags() {
fi fi
# Load regex module # Load regex module
zmodload zsh/regex # zmodload zsh/regex
# Define tag replacements as an associative array # Define tag replacements as an associative array
typeset -A qstags=( typeset -A qstags=(