projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a77b63c
)
zshrc: Fix `salias' wrt parameter scope
author
Frank Terbeck
<ft@grml.org>
Sun, 17 Mar 2013 18:35:10 +0000
(19:35 +0100)
committer
Frank Terbeck
<ft@grml.org>
Sun, 17 Mar 2013 18:35:10 +0000
(19:35 +0100)
Signed-off-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
23d938a
..
795cc37
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-406,6
+406,7
@@
check_com() {
salias() {
emulate -L zsh
local only=0 ; local multi=0
salias() {
emulate -L zsh
local only=0 ; local multi=0
+ local key val
while [[ $1 == -* ]] ; do
case $1 in
(-o) only=1 ;;
while [[ $1 == -* ]] ; do
case $1 in
(-o) only=1 ;;