about summary refs log tree commit diff
path: root/Completion/Unix/Command/_less
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-10-11 01:23:53 +0200
committerOliver Kiddle <opk@zsh.org>2017-10-11 01:23:53 +0200
commit04a7dca3b0aa7659846e66415a2021b1562492f5 (patch)
tree43e341073477569deaace6a1f3d5912748b01ea3 /Completion/Unix/Command/_less
parent233c0e89032950a031c7e559b4f71944d49e4664 (diff)
downloadzsh-04a7dca3b0aa7659846e66415a2021b1562492f5.tar.gz
zsh-04a7dca3b0aa7659846e66415a2021b1562492f5.tar.xz
zsh-04a7dca3b0aa7659846e66415a2021b1562492f5.zip
41831: fix compset usage in ogg123 completion and tweak where compset -p is a better choice than -P
Diffstat (limited to 'Completion/Unix/Command/_less')
-rw-r--r--Completion/Unix/Command/_less2
1 files changed, 1 insertions, 1 deletions
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' '(