From: Michael Prokop Date: Fri, 13 Apr 2007 15:44:16 +0000 (+0200) Subject: /etc/zsh/zshrc: fix function sll X-Git-Tag: 0.2.43~1 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=0e94a5d29a3957ce97fcf452558ee9a57b4fb40a;p=grml-etc-core.git /etc/zsh/zshrc: fix function sll --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 24e979b..ee7688f 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -976,7 +976,7 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"." # list symlinks in detail (more detailed version of 'readlink -f' and 'whence -s') sll() { - [ -z "$1" ] && printf 'usage: %s \n' "$0" && exit 1 + [ -z "$1" ] && printf 'Usage: %s \n' "$0" && return 1 for i in "$@" ; do file=$i while [ -h "$file" ] ; do