summaryrefslogtreecommitdiff
path: root/plugins/ng/_ng
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2022-11-05 14:55:11 -0700
committerTuowen Zhao <ztuowen@gmail.com>2022-11-05 14:55:11 -0700
commit04b8c052e5b624873b352889423c753ed1baf9c4 (patch)
tree78e14fe69e61d69709f31f91b7ae29fe8bc74477 /plugins/ng/_ng
parent1a6dcd017dbf564058a729032de3db139fcf9c7e (diff)
parent80fdbc9b91a9acca42fb90065b5e64a9722978a7 (diff)
downloadzsh-04b8c052e5b624873b352889423c753ed1baf9c4.tar.gz
zsh-04b8c052e5b624873b352889423c753ed1baf9c4.tar.bz2
zsh-04b8c052e5b624873b352889423c753ed1baf9c4.zip
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'plugins/ng/_ng')
-rw-r--r--plugins/ng/_ng2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ng/_ng b/plugins/ng/_ng
index 9c96cf7e3..86c6ce187 100644
--- a/plugins/ng/_ng
+++ b/plugins/ng/_ng
@@ -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')"})