/etc/zsh/zshrc: update function sll
authorMichael Prokop <mika@grml.org>
Fri, 13 Apr 2007 15:41:26 +0000 (17:41 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 13 Apr 2007 15:41:26 +0000 (17:41 +0200)
etc/zsh/zshrc

index ee18d7c..24e979b 100644 (file)
@@ -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 <file>\n' "$0" && exit 1
-    for i in $* ; do
+    for i in "$@" ; do
       file=$i
       while [ -h "$file" ] ; do
         ls -l $file