X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fzsh%2Fzshrc;h=c30b11220d569d96efe5ead383d8d6c7032a0da2;hb=4962cc96dbd7d7b253f9e65d495161ae27a08b70;hp=2f69b22ea13c3e3bfae5d7426157757ad7da2b65;hpb=87f7ba3507aa75f3213ed2bca9a524823bfbbf82;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 2f69b22..c30b112 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2325,12 +2325,17 @@ if check_com -c grep-status ; then fi # if cdrecord is a symlink (to wodim) or isn't present at all warn: -if [[ -L /usr/bin/cdrecord ]] || ! check_com -c cdrecord ; then - if check_com -c wodim ; then - alias cdrecord="echo 'cdrecord is not provided under its original name by Debian anymore. +if [[ -L /usr/bin/cdrecord ]] || ! check_com -c cdrecord; then + if check_com -c wodim; then + cdrecord() { + cat <