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 (from parent 1:
7ea446c
)
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>
Mon, 18 Mar 2013 20:54:32 +0000
(21:54 +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
33b0c26
..
803e6c0
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 ;;