From: Michael Prokop Date: Mon, 15 Jun 2015 21:05:43 +0000 (+0200) Subject: Fix pattern usage for Zsh X-Git-Tag: v0.16~2 X-Git-Url: http://git.grml.org/?p=grml-quickconfig.git;a=commitdiff_plain;h=d6b6a5675b682596fcc6084f3c8dd835d8769812 Fix pattern usage for Zsh 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 --- diff --git a/grml-quickconfig b/grml-quickconfig index de47f21..26d0ca9 100755 --- a/grml-quickconfig +++ b/grml-quickconfig @@ -159,7 +159,7 @@ while : ; do echo get_key INPUT case $INPUT in - [q|Q|$'\n']) + [qQ$'\n']) echo $INPUT break ;;