diff options
| -rw-r--r-- | oni/home/config/common.scm | 4 | ||||
| -rwxr-xr-x | zsh/.zsh/functions/_abcde | 47 |
2 files changed, 50 insertions, 1 deletions
diff --git a/oni/home/config/common.scm b/oni/home/config/common.scm index 525a2f2..1b40c25 100644 --- a/oni/home/config/common.scm +++ b/oni/home/config/common.scm @@ -327,4 +327,6 @@ LocalForward 19999 localhost:19999")) (".zsh/functions/x-kill-region" ,(local-file "../../../zsh/.zsh/functions/x-kill-region")) (".zsh/functions/x-yank" - ,(local-file "../../../zsh/.zsh/functions/x-yank")))))) + ,(local-file "../../../zsh/.zsh/functions/x-yank")) + (".zsh/functions/_abcde" + ,(local-file "../../../zsh/.zsh/functions/_abcde")))))) 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: |
