From: Cameron Katri Date: Tue, 5 Jul 2022 00:53:57 +0000 (-0400) Subject: Add zsh completions file for common flags X-Git-Tag: v2.1.5-procursus3~15 X-Git-Url: https://git.cameronkatri.com/ldid.git/commitdiff_plain/c3a24e1bd2ad113499313269d9fc0cfc6a8022d2?ds=inline Add zsh completions file for common flags --- 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'