[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-324-g2fb0a3a

Ville Skyttä ville.skytta at iki.fi
Tue May 24 20:32:49 UTC 2011


The following commit has been merged in the master branch:
commit 080f04fceac665b1a0a8f2749612d4ea6b09a657
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue May 24 23:19:28 2011 +0300

    cvs: List "primary" command names first in mode switch.

diff --git a/completions/cvs b/completions/cvs
index c57765e..1bbca58 100644
--- a/completions/cvs
+++ b/completions/cvs
@@ -73,58 +73,58 @@ _cvs()
                     mode=cvsroot
                     cvsroot=${words[((count+1))]}
                     ;;
-                ad|add|new)
+                add|ad|new)
                     mode=add
                     ;;
-                adm|admin|rcs)
+                admin|adm|rcs)
                     mode=admin
                     ;;
-                ann|annotate)
+                annotate|ann)
                     mode=annotate
                     ;;
                 checkout|co|get)
                     mode=checkout
                     ;;
-                com|commit|ci)
+                commit|ci|com)
                     mode=commit
                     ;;
-                di|dif|diff)
+                diff|di|dif)
                     mode=diff
                     ;;
-                ex|exp|export)
+                export|ex|exp)
                     mode=export
                     ;;
                 edit|unedit)
                     mode=$i
                     ;;
-                hi|his|history)
+                history|hi|his)
                     mode=history
                     ;;
-                im|imp|import)
+                import|im|imp)
                     mode=import
                     ;;
-                re|rel|release)
-                    mode=release
-                    ;;
                 log|rlog)
                     mode=log
                     ;;
                 rdiff|patch)
                     mode=rdiff
                     ;;
+                release|re|rel)
+                    mode=release
+                    ;;
                 remove|rm|delete)
                     mode=remove
                     ;;
                 rtag|rfreeze)
                     mode=rtag
                     ;;
-                st|stat|status)
+                status|st|stat)
                     mode=status
                     ;;
                 tag|freeze)
                     mode=tag
                     ;;
-                up|upd|update)
+                update|up|upd)
                     mode=update
                     ;;
             esac

-- 
bash-completion



More information about the Bash-completion-commits mailing list