about summary refs log tree commit diff
path: root/Completion/User/_cvs
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_cvs')
-rw-r--r--Completion/User/_cvs27
1 files changed, 12 insertions, 15 deletions
diff --git a/Completion/User/_cvs b/Completion/User/_cvs
index 3b59a358a..24a21f8be 100644
--- a/Completion/User/_cvs
+++ b/Completion/User/_cvs
@@ -225,21 +225,18 @@ _cvs_history () {
 
 builtin functions _cvs_history_x >&- ||
 _cvs_history_x () {
-  compset -P '*'
-
-  compadd "$@" -S '' -d '(
-  F\ --\ release
-  O\ --\ checkout
-  E\ --\ export
-  T\ --\ rtag
-  C\ --\ merge\ collision-detected
-  G\ --\ merge\ succeed
-  U\ --\ working\ file\ was\ copied
-  W\ --\ working\ file\ was\ deleted
-  A\ --\ A\ file\ was\ added
-  M\ --\ A\ file\ was\ modified
-  R\ --\ A\ file\ was\ removed
-  )' F O E T C G U W A M R
+  _values -s '' 'type' \
+    'F[release]' \
+    'O[checkout]' \
+    'E[export]' \
+    'T[rtag]' \
+    'C[merge collision-detected]' \
+    'G[merge succeed]' \
+    'U[working file was copied]' \
+    'W[working file was deleted]' \
+    'A[A file was added]' \
+    'M[A file was modified]' \
+    'R[A file was removed]'
 }
 
 builtin functions _cvs_import >&- ||