From cb300a40c609b818e87edfc0d35ef2c783c28f59 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Sun, 17 Mar 2013 19:35:10 +0100 Subject: [PATCH] zshrc: Fix `salias' wrt parameter scope Signed-off-by: Frank Terbeck --- etc/zsh/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 33b0c26..803e6c0 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -406,6 +406,7 @@ check_com() { salias() { emulate -L zsh local only=0 ; local multi=0 + local key val while [[ $1 == -* ]] ; do case $1 in (-o) only=1 ;; -- 2.1.4