Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _history_complete_word brain damage



Ahem!  _history_complete_word had been broken for quite a while, but
evidently I was the only person bothered by it, and I've only just got
round to trying to fix it.

There are still remaining problems, I fear.

Index: Completion/Commands/_history_complete_word
===================================================================
RCS file: /projects/zsh/zsh/Completion/Commands/_history_complete_word,v
retrieving revision 1.1.1.13
diff -u -r1.1.1.13 _history_complete_word
--- Completion/Commands/_history_complete_word	1999/11/17 09:57:18	1.1.1.13
+++ Completion/Commands/_history_complete_word	1999/12/06 00:32:43
@@ -20,9 +20,9 @@
   local expl direction stop
 
   if [[ $WIDGET = *newer ]]; then
-    direction=older
-  else
     direction=newer
+  else
+    direction=older
   fi
 
   _style -s history-words stop stop



Messages sorted by: Reverse Date, Date, Thread, Author