From: Michael Prokop Date: Fri, 13 Apr 2007 15:41:26 +0000 (+0200) Subject: /etc/zsh/zshrc: update function sll X-Git-Tag: 0.2.43~2 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=dfc4fb72649668ce8f919eb947102cab3f5af607;hp=91d0835c1d20d697870290fa97f45b5794d17cf7;p=grml-etc-core.git /etc/zsh/zshrc: update function sll --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index ee18d7c..24e979b 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -977,7 +977,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 - for i in $* ; do + for i in "$@" ; do file=$i while [ -h "$file" ] ; do ls -l $file