summaryrefslogtreecommitdiff
path: root/net:foret/completion/_set-target-build-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net:foret/completion/_set-target-build-env.sh')
-rw-r--r--net:foret/completion/_set-target-build-env.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/net:foret/completion/_set-target-build-env.sh b/net:foret/completion/_set-target-build-env.sh
new file mode 100644
index 0000000..53291a8
--- /dev/null
+++ b/net:foret/completion/_set-target-build-env.sh
@@ -0,0 +1,6 @@
+#compdef set-target-build-env.sh
+
+_arguments "1:build targets:($(
+ awk '/^ [-_a-zA-Z0-9]+$/ { print $1 }' tools/sdk-targets.txt
+ ))"
+