[Rivet-svn] r2786 - trunk/data

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sat Nov 27 01:24:13 GMT 2010


Author: buckley
Date: Sat Nov 27 01:24:13 2010
New Revision: 2786

Log:
More completion improvements. Such a neat system.

Modified:
   trunk/data/rivet-completion

Modified: trunk/data/rivet-completion
==============================================================================
--- trunk/data/rivet-completion	Sat Nov 27 01:15:32 2010	(r2785)
+++ trunk/data/rivet-completion	Sat Nov 27 01:24:13 2010	(r2786)
@@ -102,7 +102,12 @@
         fi
     fi
 
-    if [[ ${prev} == --show-single* ]]; then
+    if [[ ${cur} == "--plotinfodir" ]] ; then
+        _filedir -d
+        return 0
+    fi
+
+    if [[ ${prev} == "--show-single" ]]; then
         COMPREPLY=( $(compgen -W "no mc ref all" -- ${cur}) )
         return 0
     fi
@@ -165,7 +170,7 @@
     opts="$opts --match -m"
     opts="$opts --quiet -q --verbose -v"
 
-    if [[ ${cur} == --plotinfodir* ]] ; then
+    if [[ ${cur} == "--plotinfodir" ]] ; then
         _filedir -d
         return 0
     fi


More information about the Rivet-svn mailing list