X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=a4adfdd7c8523b62eeb70b2509e0ce633c4a7aa7;hb=b72d908b1b136820a113c2a01da79393cf331678;hp=24e979b2b8911dd4850f5bef607c3065db3c1231;hpb=dfc4fb72649668ce8f919eb947102cab3f5af607;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 24e979b..a4adfdd 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