From d6b6a5675b682596fcc6084f3c8dd835d8769812 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 15 Jun 2015 23:05:43 +0200 Subject: [PATCH] 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 --- grml-quickconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- 2.1.4