X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=455aff9bd7ad753d9d0722332067d5a0537003ff;hb=822072725593e64b7dc57ba070433cb6112981d8;hp=7c3f9b64bf6b263b36d5dbef4f653e236d015ab6;hpb=9779bb8d049ea10798af7cc12de0c26a513d6432;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 7c3f9b6..455aff9 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -701,11 +701,12 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"." # use "uchange " to view upstream's changelog of the package: uchange() { if [ -r /usr/share/doc/${1}/changelog.gz ] ; then - most /usr/share/doc/${1}/changelog.gz ; } + most /usr/share/doc/${1}/changelog.gz else echo "No changelog for package $1 found, sorry." return 1 fi + } _uchange() { _files -W /usr/share/doc -/ } compdef _uchange uchange