Skip to content

Commit cb300a4

Browse files
committed
zshrc: Fix `salias' wrt parameter scope
Signed-off-by: Frank Terbeck <ft@grml.org>
1 parent 7ea446c commit cb300a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/zsh/zshrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ check_com() {
406406
salias() {
407407
emulate -L zsh
408408
local only=0 ; local multi=0
409+
local key val
409410
while [[ $1 == -* ]] ; do
410411
case $1 in
411412
(-o) only=1 ;;

0 commit comments

Comments
 (0)