summaryrefslogtreecommitdiff
path: root/Completion/Linux/Command/_basenc
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:17:48 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:17:48 +0200
commitb09f4483416c54c1782824633dfabaf2ec0265b6 (patch)
tree304bc82642862525ae680c7fbaa249663b10ad57 /Completion/Linux/Command/_basenc
parent12eb3e5356f2fc3351eed58ef1cef1b8fb83b504 (diff)
parent6e55c920503071e917619b8cb1a188cd35d772db (diff)
downloadzsh-b09f4483416c54c1782824633dfabaf2ec0265b6.tar.gz
zsh-b09f4483416c54c1782824633dfabaf2ec0265b6.zip
New upstream version 5.8.1.2-test
Diffstat (limited to 'Completion/Linux/Command/_basenc')
-rw-r--r--Completion/Linux/Command/_basenc30
1 files changed, 30 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_basenc b/Completion/Linux/Command/_basenc
new file mode 100644
index 000000000..515621aaa
--- /dev/null
+++ b/Completion/Linux/Command/_basenc
@@ -0,0 +1,30 @@
+#compdef basenc
+# based on GNU coreutils 8.32
+
+local specs=(
+ + '(type)'
+ "(info)--base64[same as 'base64' program (RFC4648 section 4)]"
+ "(info)--base64url[file- and url-safe base64 (RFC4648 section 5)]"
+ "(info)--base32[same as 'base32' program (RFC4648 section 6)]"
+ "(info)--base32hex[extended hex alphabet base32 (RFC4648 section 7)]"
+ "(info)--base16[hex encoding (RFC4648 section 8)]"
+ "(info)--base2msbf[bit string with most significant bit (msb) first]"
+ "(info)--base2lsbf[bit string with least significant bit (lsb) first]"
+ "(info)--z85[ascii85-like encoding (ZeroMQ spec-32/Z85)]"
+
+ + enc
+ '(info dec -w --wrap)'{-w+,--wrap=}"[wrap encoded lines at specified column]:number of characters (0=disable wrapping) [76]: "
+
+ + dec
+ '(info enc -d --decode)'{-d,--decode}"[decode data]"
+ '(info enc -i --ignore-garbage)'{-i,--ignore-garbage}"[when decoding, ignore non-alphabet characters]"
+
+ + info
+ "(: -)--help[display help information and exit]"
+ "(: -)--version[output version information and exit]"
+
+ + input
+ '(info)1:input file:_files'
+)
+
+_arguments -s -S : $specs