From 04a7dca3b0aa7659846e66415a2021b1562492f5 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 11 Oct 2017 01:23:53 +0200 Subject: 41831: fix compset usage in ogg123 completion and tweak where compset -p is a better choice than -P --- Completion/Unix/Command/_less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_less') diff --git a/Completion/Unix/Command/_less b/Completion/Unix/Command/_less index 9092010f2..7f01952d2 100644 --- a/Completion/Unix/Command/_less +++ b/Completion/Unix/Command/_less @@ -91,7 +91,7 @@ _arguments -S -s -A "[-+]*" \ if [[ -n "$state" ]]; then case $state in prompts) - if compset -P \?; then + if compset -p 1; then _message -e prompt else _describe 'prompt' '( -- cgit 1.4.1