projects
/
grml-quickconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62d1f3
)
Fix pattern usage for Zsh
author
Michael Prokop
<mika@grml.org>
Mon, 15 Jun 2015 21:05:43 +0000
(23:05 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 15 Jun 2015 21:05:43 +0000
(23:05 +0200)
Recent Zsh versions seems to have changed the behaviour of
case patterns and the '|' doesn't work as intended, causing
the following error message:
| bad pattern: [q
grml-quickconfig
patch
|
blob
|
history
diff --git
a/grml-quickconfig
b/grml-quickconfig
index
de47f21
..
26d0ca9
100755
(executable)
--- a/
grml-quickconfig
+++ b/
grml-quickconfig
@@
-159,7
+159,7
@@
while : ; do
echo
get_key INPUT
case $INPUT in
- [q
|Q|
$'\n'])
+ [q
Q
$'\n'])
echo $INPUT
break
;;