We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38758bb commit 345a4d2Copy full SHA for 345a4d2
1 file changed
call_host.sh
@@ -33,9 +33,9 @@ if is_zsh; then
33
export_func(){
34
typeset -fx "$1" 2>/dev/null || true
35
}
36
- # declare an associative array (zsh) - create a named array using eval so dynamic name works
+ # declare an associative array (zsh)
37
declare_assoc(){
38
- eval "typeset -A $1"
+ typeset -A "$1"
39
40
# get current function name in zsh (be tolerant if indices differ)
41
current_funcname(){
0 commit comments