X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=455aff9bd7ad753d9d0722332067d5a0537003ff;hb=a577a428e64736d4f599531c9c77b1547554ec03;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