From 7bbee30ddac74e0616091038b03389c77f2f9932 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 12 May 2014 13:05:18 +0200 Subject: [PATCH] zshrc: use "local" file variable in sll() --- etc/zsh/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index f95045a..fe58fe9 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2532,6 +2532,7 @@ compdef _functions freload #f1# List symlinks in detail (more detailed version of 'readlink -f' and 'whence -s') sll() { [[ -z "$1" ]] && printf 'Usage: %s \n' "$0" && return 1 + local file for file in "$@" ; do while [[ -h "$file" ]] ; do ls -l $file -- 2.1.4