summaryrefslogtreecommitdiff
path: root/net:foret/completion/_sdk-patch.sh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2012-06-08 17:21:16 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2012-06-08 17:21:16 +0200
commitb544003f665815700c3e692ed8528ad43fd12cd3 (patch)
treec3433b820d693b0f804152ed6d8e345e8c8c55c0 /net:foret/completion/_sdk-patch.sh
parente2268a81ae230fb21c37cca4abdfb675adde9ea6 (diff)
[Completion] Q : specific completion. :)
Diffstat (limited to 'net:foret/completion/_sdk-patch.sh')
-rw-r--r--net:foret/completion/_sdk-patch.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/net:foret/completion/_sdk-patch.sh b/net:foret/completion/_sdk-patch.sh
new file mode 100644
index 0000000..a8cc4c3
--- /dev/null
+++ b/net:foret/completion/_sdk-patch.sh
@@ -0,0 +1,8 @@
+#compdef sdk-patch.sh
+
+_arguments -A "-*" \
+ -- \
+ "*=FILE*:file:_files"\
+ "*{-c,--config}:file:_files"\
+ ":targets:($([ -n "$TARGET" ] && for i in "" "-PLUGIN" "-APPSDK" "-PERF" ; echo $TARGET$i))"
+