Index: trunk/Ohana/src/opihi/lib.shell/opihi.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/opihi.c	(revision 13504)
+++ trunk/Ohana/src/opihi/lib.shell/opihi.c	(revision 14449)
@@ -41,5 +41,10 @@
       status = multicommand (line);
       add_history (line);
+
+// the libedit version of readline does not support an incremental write to history file
+# ifdef RL_READLINE_VERSION
       if (history != NULL) append_history (1, history);
+# endif
+
     }
     free (line);
