X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=53e517730b6640eaad96abc7873c448039fd7339;hb=0daf2ad0a6faf4be6817bdc73934bbccd9ae8a22;hp=80503faf3b0dabbba88699ec42689b6a1aae6224;hpb=725aa87308b23fcf3a0a643b33912ab30f49d372;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 80503fa..53e5177 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1256,11 +1256,13 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"." dchange() { if [ -r /usr/share/doc/${1}/changelog.Debian.gz ] ; then most /usr/share/doc/${1}/changelog.Debian.gz + elif [ -r /usr/share/doc/${1}/changelog.gz ] ; then + most /usr/share/doc/${1}/changelog.gz else if type -p aptitude &>/dev/null ; then echo "No changelog for package $1 found, using aptitude to retrieve it." if isgrml ; then - aptitude -t unstable changelog tsclient + aptitude -t unstable changelog ${1} else aptitude changelog ${1} fi