local -A invalid option
nutellinoit opened this issue · comments
Samuele Chiocca commented
Hello! Something is not working on 0.4
Macbook (⎈ |N/A:N/A)➜ ~ kzenv
/usr/local/Cellar/kzenv/0.4/lib/bashlog.sh: line 58: local: -A: invalid option
local: usage: local name[=value] ...
/usr/local/Cellar/kzenv/0.4/lib/bashlog.sh: line 59: DEBUG: unbound variable
Luca Zecca commented
You need version of bash greater than 4
Samuele Chiocca commented
Upgrading to bash greater than 5 fixes the problem! Thank you @lzecca78