about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-06 04:16:50 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-06 04:16:50 +0000
commit76087d1158938bb46fd980e3da0cc864af2c7c18 (patch)
treec95668b24ce031605a1cd4a6c9fe336a877e3f42
parentbf7ed197a6aa52a173279f2ef8c28eb9e59c6191 (diff)
downloadzsh-76087d1158938bb46fd980e3da0cc864af2c7c18.tar.gz
zsh-76087d1158938bb46fd980e3da0cc864af2c7c18.tar.xz
zsh-76087d1158938bb46fd980e3da0cc864af2c7c18.zip
zsh-workers/8902
-rw-r--r--Completion/Commands/_history_complete_word4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Commands/_history_complete_word b/Completion/Commands/_history_complete_word
index c5438148d..08fc1ea79 100644
--- a/Completion/Commands/_history_complete_word
+++ b/Completion/Commands/_history_complete_word
@@ -20,9 +20,9 @@ _history_complete_word () {
   local expl direction stop
 
   if [[ $WIDGET = *newer ]]; then
-    direction=older
-  else
     direction=newer
+  else
+    direction=older
   fi
 
   _style -s history-words stop stop