Update 19.10.2022
This commit is contained in:
@@ -46,7 +46,7 @@ elif (( CURRENT == 3 )); then
|
||||
# ...
|
||||
# }
|
||||
# }
|
||||
# In abscence of a proper JSON parser, just grab the lines with
|
||||
# In absence of a proper JSON parser, just grab the lines with
|
||||
# a 2-space indentation and only the stuff inside quotes
|
||||
local -a projects
|
||||
projects=(${(@f)"$(ng config projects 2>/dev/null | sed -n 's/^ "\([^"]\+\)".*$/\1/p')"})
|
||||
|
||||
Reference in New Issue
Block a user