Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _history_complete_word brain damage
- X-seq: zsh-workers 8902
 
- From: Adam Spiers <adam@xxxxxxxxxx>
 
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
 
- Subject: PATCH: _history_complete_word brain damage
 
- Date: Mon, 6 Dec 1999 00:38:21 +0000
 
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
 
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