X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=53e517730b6640eaad96abc7873c448039fd7339;hb=0daf2ad0a6faf4be6817bdc73934bbccd9ae8a22;hp=ce78062abd3773afda3e876e0cfae11fa2c0786f;hpb=cef676814cebd511d5f2fba576f3dd775e8e9950;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index ce78062..53e5177 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1256,6 +1256,8 @@ 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."