aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-01-02 01:29:15 -0800
committerGravatar Tom Willemse2026-01-02 01:29:15 -0800
commit11498bc4b5d00a8647dbd181152ac1e6a612171a (patch)
tree36f5e8e57b5c3694cdde1b9fc9f8b1da8c43689e /zsh
parentadc4951c1d2439cc4f84613d6a42af911e9b062d (diff)
downloadnew-dotfiles-11498bc4b5d00a8647dbd181152ac1e6a612171a.tar.gz
new-dotfiles-11498bc4b5d00a8647dbd181152ac1e6a612171a.zip
zsh: Add completion for abcde
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zsh/functions/_abcde47
1 files changed, 47 insertions, 0 deletions
diff --git a/zsh/.zsh/functions/_abcde b/zsh/.zsh/functions/_abcde
new file mode 100755
index 0000000..f00cf11
--- /dev/null
+++ b/zsh/.zsh/functions/_abcde
@@ -0,0 +1,47 @@
+#compdef abcde
+
+ # '-a[Actions to perform, comma separated]' \
+ # '-o[Output file type(s), comma separated]' \
+ # '-Q[CD lookup method(s), comma separated]' \
+ # '-r[Also encode in these remote hosts]' \
+
+_arguments \
+ '-1[Encode the whole CD in a single file]' \
+ '-b[Enable batch normalization]' \
+ '-B[Embed albumart (this also activates getalbumart)]' \
+ '-c[Specify a configuration file (overrides system and user config files)]:file:_files' \
+ '-C[Specify discid to resume from (only needed if you no longer have the cd)]' \
+ '-d[Specify CDROM device to grab (flac uses a single-track flac file)]' \
+ '-D[Debugging mode]' \
+ '-e[Erase encoded track information from status file]' \
+ '-f[Force operations that otherwise are considered harmful.]' \
+ '-g[Use "lame --nogap" for MP3 encoding.]' \
+ "-G[Get album art by using the 'getalbumart' action]" \
+ '-h[Display help information]' \
+ '-j[Number of encoder processes to run at once]:#' \
+ '-k[Keep the wav tracks for later use]' \
+ '-l[Use low dis space algorithm]' \
+ '-L[Use local CDDB storage directory]' \
+ '-m[Modify playlist to include CRLF ndings, to comply with some players]' \
+ "-n[No lookup. Don't query CDDB, just create and use template]" \
+ '-N[Noninteractive. Never prompt for anything]' \
+ "-p[Pad track numbers with 0's (if less than 10 tracks)]" \
+ '-P[Use UNIX pipes to read+encode without wav files]' \
+ '-s[Show fields from the CDDB info]:arg:(year genre)' \
+ '-S[Set the CD speed]:#' \
+ '-t[Start the track numbering at a given number]:#' \
+ '-T[Same as -t but modifies tag numbering]:#' \
+ '-U[Do NOT use UNICODE (UTF8) tags and comments]' \
+ '-v[Show version number and exit]' \
+ '-V[Be a bit more verbose about what is happening behind the scenes]' \
+ '-x[Eject CD after all tracks are read]' \
+ '-w[Add a comment to the CD tracks]:comment' \
+ '-W[Concatenate CDs: -T #01 -w "CD #"]:#' \
+ '-z[Use debug CDROMREADERSYNTAX option (needs cdparanoia)]'
+
+# Local Variables:
+# mode: sh
+# sh-indentation: 2
+# indent-tabs-mode: nil
+# sh-basic-offset: 2
+# End: