Index: trunk/Ohana/src/opihi/lib.shell/CommandOps.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/CommandOps.c	(revision 7917)
+++ trunk/Ohana/src/opihi/lib.shell/CommandOps.c	(revision 14449)
@@ -1,3 +1,8 @@
 # include "opihi.h"
+
+// if the user has installed the libedit version of readline, we need to modify a couple symbols:
+# ifndef RL_READLINE_VERSION
+# define rl_completion_matches(A,B) completion_matches(A,B)
+# endif
 
 static Command  *commands;
@@ -118,6 +123,7 @@
   matches = (char **) NULL;
   
-  if (start == 0)
+  if (start == 0) {
     matches = rl_completion_matches (text, command_generator);
+  }
 
   return (matches);
