summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_less2
-rw-r--r--Completion/Unix/Command/_vorbis2
2 files changed, 2 insertions, 2 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' '(
diff --git a/Completion/Unix/Command/_vorbis b/Completion/Unix/Command/_vorbis
index eee4f7a5e..cb3e3f9d8 100644
--- a/Completion/Unix/Command/_vorbis
+++ b/Completion/Unix/Command/_vorbis
@@ -79,7 +79,7 @@ case $service in
esac
if [[ $state = devopts ]]; then
- if compset -p '*:'; then
+ if compset -P '*:'; then
_message -e value value
else
_wanted devopts expl 'device option' \