From c3a24e1bd2ad113499313269d9fc0cfc6a8022d2 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Mon, 4 Jul 2022 20:53:57 -0400 Subject: Add zsh completions file for common flags --- _ldid | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _ldid diff --git a/_ldid b/_ldid new file mode 100644 index 0000000..db8a90a --- /dev/null +++ b/_ldid @@ -0,0 +1,17 @@ +#compdef ldid ldid2 + +_arguments \ + '-S-[Add signature]:entitlements:_files' \ + '-Q-[Embed requirements]:requirements:_files' \ + '(-S)-r[Remove signature]' \ + '(-r)-h[Print signature information]' \ + '-q[Print requirements]' \ + '-e[Print entitlements]' \ + '-M[Merge entitlements]' \ + '*-C-[Flags]:flags:(adhoc enforcement expires hard host kill library-validation restrict runtime)' \ + '-H-[Hash type]:hash:(sha1 sha256)' \ + '-I-[Set identifier]:identifier' \ + '-K-[Signing private key]:key:_files' \ + '-P[Set as platform]' \ + '-U-[Password for -K]' \ + '*: :_files' -- cgit v1.2.3-56-ge451